Add missing file

This commit is contained in:
Gilbert 2024-05-01 18:31:19 -05:00
parent 83d5e3d769
commit 072e2c20e3

View File

@ -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);
}
}