Skip to content

Commit 11d4a94

Browse files
Debug #179
1 parent c71c97d commit 11d4a94

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/common/helper.js

+4
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,10 @@ function * fetchFromES (query, resource, parentSpan) {
248248
}
249249
return response
250250
} catch (err) {
251+
console.log(JSON.stringify(err))
252+
if (err.toJSON) {
253+
console.log(err.toJSON())
254+
}
251255
fetchFromESSpan.setTag('error', true)
252256
throw err
253257
} finally {

0 commit comments

Comments
 (0)