mirror of https://github.com/portainer/portainer
fix(container-console): close the console when selected shell does not exist inside the container (#2502)
parent
34b886d690
commit
c778e79004
|
@ -52,6 +52,7 @@ function ($scope, $transition$, ContainerService, ImageService, EndpointProvider
|
|||
})
|
||||
.catch(function error(err) {
|
||||
Notifications.error('Failure', err, 'Unable to exec into container');
|
||||
$scope.disconnect();
|
||||
});
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue