Skip to content

Commit 13effcd

Browse files
committed
Consistently expect application addons to be async functions
1 parent 2013cbd commit 13effcd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

client/src/app/addons/sentry.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import Vue from "vue";
77
*
88
* @param {object} config Galaxy configuration object
99
*/
10-
export const initSentry = (Galaxy, router) => {
10+
export async function initSentry(Galaxy, router) {
1111
console.log("initSentry");
1212
const config = Galaxy.config;
1313
if (config.sentry_dsn_public) {
@@ -40,4 +40,4 @@ export const initSentry = (Galaxy, router) => {
4040
}
4141
Galaxy.Sentry = Sentry;
4242
}
43-
};
43+
}

0 commit comments

Comments
 (0)