Update handleError.js

pull/7308/head
Rodrigo Nascimento 9 years ago committed by GitHub
parent 19d28159fe
commit 0ca1c8ab35
  1. 2
      client/lib/handleError.js

@ -9,7 +9,7 @@ this.handleError = function(error, useToastr = true) {
}
if (useToastr) {
return toastr.error(TAPi18n.__(error.error, error.details), error.details && error.details.errorTitle ? TAPi18n.__(_.escapeHTML(error.details.errorTitle)) : null);
return toastr.error(TAPi18n.__(error.error, error.details), error.details && error.details.errorTitle ? TAPi18n.__(error.details.errorTitle) : null);
}
return TAPi18n.__(error.error, error.details);

Loading…
Cancel
Save