feat(containers): add container name in error notification

* containersDatable: add containers name if error on executeActionOnContainerList

* Update containersDatatableActionsController.js

* Update containersDatatableActionsController.js
pull/2449/head
Angele 2018-09-28 00:49:30 +02:00 committed by Anthony Lapenna
parent f0f01c33bd
commit 92b15523f0
1 changed files with 1 additions and 0 deletions

View File

@ -72,6 +72,7 @@ function ($state, ContainerService, ModalService, Notifications, HttpRequestHelp
Notifications.success(successMessage, container.Names[0]);
})
.catch(function error(err) {
errorMessage = errorMessage + ':' + container.Names[0];
Notifications.error('Failure', err, errorMessage);
})
.finally(function final() {