mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-02-22 05:29:01 -06:00
ociswrapper: meaningful error message
This commit is contained in:
@@ -31,7 +31,7 @@ func sendResponse(res http.ResponseWriter, ocisStatus bool) {
|
||||
} else {
|
||||
res.WriteHeader(http.StatusInternalServerError)
|
||||
resBody["status"] = "ERROR"
|
||||
resBody["message"] = "oCIS server error"
|
||||
resBody["message"] = "Unable to start oCIS server"
|
||||
}
|
||||
res.Header().Set("Content-Type", "application/json")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user