diff --git a/public/js/services/NotifyServ.js b/public/js/services/NotifyServ.js index 9e88602..a111814 100644 --- a/public/js/services/NotifyServ.js +++ b/public/js/services/NotifyServ.js @@ -38,6 +38,9 @@ angular.module('NotifyServ', []).service('NotifyServ', [ console.warn(message); }, error: function (context, error) { + if (!error) { + error = ''; + } this.notify({ title: context, message: error @@ -80,6 +83,9 @@ angular.module('NotifyServ', []).service('NotifyServ', [ }); }, error: function (context, error) { + if (!error) { + error = ''; + } commands = { title: context, message: error, -- libgit2 0.21.2