Write deploy errors to cluster DB

This commit is contained in:
Ingo Oppermann
2023-07-11 15:55:46 +02:00
parent 0f06b8b5a0
commit 3883696034
5 changed files with 362 additions and 13 deletions

View File

@@ -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