Add error to GetSession return values
- Add button to copy instance SSH access
This commit is contained in:
@@ -28,7 +28,7 @@ func Exec(rw http.ResponseWriter, req *http.Request) {
|
||||
return
|
||||
}
|
||||
|
||||
s := core.SessionGet(sessionId)
|
||||
s, _ := core.SessionGet(sessionId)
|
||||
if s == nil {
|
||||
rw.WriteHeader(http.StatusNotFound)
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user