forked from cerc-io/snowballtools-base
Add missing file
This commit is contained in:
1 parent
83d5e3d769
commit
072e2c20e3
1 file changed
+7
@@ -0,0 +1,7 @@
|
||||
import Bugsnag from '@bugsnag/js';
|
||||
|
||||
export function logError(error: Error) {
|
||||
if (import.meta.env.VITE_BUGSNAG_API_KEY) {
|
||||
Bugsnag.notify(error);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user