mirror of
https://github.com/kingomarnajjar/flex-template-web.git
synced 2026-07-26 14:57:18 +10:00
Log also code and data
This commit is contained in:
parent
d1bf9aed4c
commit
bf6e7ed6de
1 changed files with 1 additions and 0 deletions
|
|
@ -56,5 +56,6 @@ export const error = (e, code, data) => {
|
|||
Raven.captureException(e, { tags: { code }, extra: data });
|
||||
} else {
|
||||
console.error(e); // eslint-disable-line
|
||||
console.error('Error code:', code, 'data:', data);
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue