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:
parent
34b886d690
commit
c778e79004
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue