Don't put internal fission error details in responses

This commit is contained in:
Soam Vasani
2016-11-02 16:07:07 -07:00
parent b1587551d5
commit af8e5f360f
+1 -1
View File
@@ -57,7 +57,7 @@ func (fh *functionHandler) handler(responseWriter http.ResponseWriter, request *
fh.Function.Name, fh.Function.Uid, poolErr)
// We might want a specific error code or header for fission
// failures as opposed to user function bugs.
http.Error(responseWriter, poolErr.Error(), 500)
http.Error(responseWriter, "Internal server error (fission)", 500)
return
}