π A self-hostable personal dashboard built for you. Includes status-checking, widgets, themes, icon packs, a UI editor and tons more!
Vue awesomedashboarddockerhomelabhomepagemitnodejsorganizationproductivitypwaself-hostedstartpagevue
/**
* Handle for lazy-loading Sentry
* So we never load Sentry unless the user has explicitly enabled error reporting
*/
let sentryInstance = null;
export const setSentryInstance = (instance) => {
sentryInstance = instance;
};
export const reportError = (msg) => {
if (sentryInstance) sentryInstance.captureMessage(msg);
};