fix: log error as error
This commit is contained in:
@@ -171,7 +171,7 @@ export class BarcodeReader extends HTMLElement {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
console.log('error', e);
|
console.error(e);
|
||||||
}
|
}
|
||||||
return undefined;
|
return undefined;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user