Skip to content
This repository has been archived by the owner on Dec 23, 2019. It is now read-only.

Commit

Permalink
fix(telephony.alias): remove api error detail message (#1493)
Browse files Browse the repository at this point in the history
ref: MBE-69
  • Loading branch information
JeremyDec authored and antleblanc committed Aug 27, 2019
1 parent 144ea30 commit 6f35032
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,7 @@ angular.module('managerApp').controller('telephonyNumberOvhPabxMenuCtrl', functi
if (error.status === 403) {
errorTranslationKey = 'telephony_number_feature_ovh_pabx_menu_action_delete_error_used';
}
TucToast.error([$translate.instant(errorTranslationKey), _.get(error, 'data.message') || ''].join(' '));
return $q.reject(error);
TucToast.error($translate.instant(errorTranslationKey));
});
}
if (self.menuEntry) {
Expand Down

0 comments on commit 6f35032

Please sign in to comment.