rm errorlogger console
This commit is contained in:
parent
89e7d52308
commit
5e5e7730c1
1 changed files with 1 additions and 1 deletions
|
|
@ -6,7 +6,7 @@ let debounce = 1000,
|
||||||
|
|
||||||
export function errorLogger(e, origin = 'cyclist') {
|
export function errorLogger(e, origin = 'cyclist') {
|
||||||
//TODO: add some kind of debug flag that enables this while in dev mode
|
//TODO: add some kind of debug flag that enables this while in dev mode
|
||||||
console.error(e);
|
// console.error(e);
|
||||||
logger(`[${origin}] error: ${e.message}`);
|
logger(`[${origin}] error: ${e.message}`);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue