mirror of
https://github.com/kingomarnajjar/flex-template-web.git
synced 2026-07-26 06:47:17 +10:00
Log code and data as well
This commit is contained in:
parent
9f25c42f8c
commit
ca510877b6
1 changed files with 2 additions and 0 deletions
|
|
@ -70,5 +70,7 @@ exports.error = (e, code, data) => {
|
|||
Raven.captureException(e, { tags: { code }, extra: data });
|
||||
} else {
|
||||
console.error(e);
|
||||
console.error(code);
|
||||
console.error(data);
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue