1
0
Fork 0

why not ...

Co-authored-by: zeripath <art27@cantab.net>
This commit is contained in:
6543 2020-05-24 16:25:09 +02:00 committed by GitHub
parent 360083a486
commit 9f59afe076
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ func (ctx *APIContext) Error(status int, title string, obj interface{}) {
if err, ok := obj.(error); ok {
message = err.Error()
} else {
message = obj.(string)
message = fmt.Sprintf("%s", obj)
}
if status == http.StatusInternalServerError {