diff --git a/src/js/index.js b/src/js/index.js index 86f4e06df..62d92a1a3 100644 --- a/src/js/index.js +++ b/src/js/index.js @@ -417,6 +417,8 @@ app.filter('taskName', function () { app.filter('errorSuggestion', function () { return function (error) { + if (!error) return ''; + switch (error.reason) { case ERROR.ACCESS_DENIED: if (error.domain) return 'Check the DNS credentials of ' + error.domain.domain + ' in the Domains & Certs view';