Skip to content

Commit

Permalink
add debug stack to console - issue #111 suggest
Browse files Browse the repository at this point in the history
  • Loading branch information
boly38 committed Dec 19, 2024
1 parent 3ab3469 commit 520418b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/plugins/BioClip.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ export default class BioClip {
);
}
} catch (err) {
// console.log(err.stack);// print stack
// console.trace();// print stack
console.log(err.stack);// print stack
console.trace();// print stack
return pluginsCommonService.rejectWithIdentifyError(pluginName, step, candidate, err, context);
}
}
Expand Down
2 changes: 2 additions & 0 deletions src/services/PluginsCommonService.js
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,8 @@ export default class PluginsCommonService {
));
})
.catch(err => {
console.log(err.stack);// print stack
console.trace();// print stack
plugin.logError("replyTo", err, {...context, doSimulate, replyTo, replyMessage});
reject(new Error("impossible de répondre au post"));
});
Expand Down

0 comments on commit 520418b

Please sign in to comment.