add tests
This commit is contained in:
parent
e9aef9e4d4
commit
e7e636886d
4 changed files with 90 additions and 13 deletions
|
|
@ -6,7 +6,7 @@ let debounce = 1000,
|
|||
|
||||
export function errorLogger(e, origin = 'cyclist') {
|
||||
//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}`);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue