1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-23 15:29:42 +02:00

fix(container-console): close the console when selected shell does not exist inside the container (#2502)

This commit is contained in:
baron_l 2018-11-28 18:57:36 +01:00 committed by Anthony Lapenna
parent 34b886d690
commit c778e79004

View file

@ -52,6 +52,7 @@ function ($scope, $transition$, ContainerService, ImageService, EndpointProvider
}) })
.catch(function error(err) { .catch(function error(err) {
Notifications.error('Failure', err, 'Unable to exec into container'); Notifications.error('Failure', err, 'Unable to exec into container');
$scope.disconnect();
}); });
}; };