Skip to content

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
atherdon authored Jul 26, 2022
1 parent daa5405 commit 621b28c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/domain/error-handle/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ const catchErrorTraceOutput = (error) => {
// we need to test how it actually work
const callerLine = error.stack.split('\n')[4];
const index = callerLine.indexOf('at ');

// TODO debug clean variable, maybe we should return it???
// eslint-disable-next-line no-unused-vars
const clean = callerLine.slice(index + 2, callerLine.length);

Expand Down

0 comments on commit 621b28c

Please sign in to comment.