mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-24 16:03:43 +08:00
fix(webconsole): show exit msg for webconsole
This commit is contained in:
@@ -256,7 +256,7 @@ func (s *WebsocketServer) ServeHTTP(w http.ResponseWriter, r *http.Request) {
|
||||
|
||||
err = s.session.Wait()
|
||||
if err != nil {
|
||||
log.Errorf("ssh exist from server: %v", err)
|
||||
s.StdinPipe.Write([]byte(err.Error()))
|
||||
}
|
||||
}()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user