diff --git a/app/assets/javascripts/discourse/app/instance-initializers/theme-errors-handler.js b/app/assets/javascripts/discourse/app/instance-initializers/theme-errors-handler.js index bf8cfc94696..9ca286b26da 100644 --- a/app/assets/javascripts/discourse/app/instance-initializers/theme-errors-handler.js +++ b/app/assets/javascripts/discourse/app/instance-initializers/theme-errors-handler.js @@ -52,7 +52,7 @@ export default { reportToLogster(source.name, error); const message = I18n.t("themes.broken_theme_alert"); - this.displayErrorNotice(this.currentUser, message, source); + this.displayErrorNotice(message, source); }, reportGenericError(e) {