mirror of
https://github.com/datarhei/core.git
synced 2025-10-05 07:57:13 +08:00
Write deploy errors to cluster DB
This commit is contained in:
@@ -968,7 +968,7 @@ func ErrorHandler(err error, c echo.Context) {
|
||||
} else {
|
||||
code = http.StatusInternalServerError
|
||||
message = http.StatusText(http.StatusInternalServerError)
|
||||
details = strings.Split(fmt.Sprintf("%s", err), "\n")
|
||||
details = strings.Split(err.Error(), "\n")
|
||||
}
|
||||
|
||||
// Send response
|
||||
|
Reference in New Issue
Block a user