diff --git a/app/controllers/application.js b/app/controllers/application.js index 83e0ce1c..93b6b412 100644 --- a/app/controllers/application.js +++ b/app/controllers/application.js @@ -9,6 +9,7 @@ import ENV from 'website-my/config/environment'; export default class ApplicationController extends Controller { @service router; @service featureFlag; + @service toast; @tracked toVisible = this.checkDeviceType(); GITHUB_URL = GITHUB_URL; @@ -33,6 +34,9 @@ export default class ApplicationController extends Controller { } } catch (err) { console.error('Error: ', err); + this.toast.error( + 'Unable to sign out. Something went wrong. Please try again.' + ); } }