mirror of
https://github.com/versity/versitygw.git
synced 2026-08-21 06:36:23 +00:00
fix: correct spelling for debuglogger.InternalError() (#1784)
This commit is contained in:
@@ -204,7 +204,7 @@ func ProcessController(ctx *fiber.Ctx, controller Controller, s3action string, s
|
||||
return ctx.Send(s3err.GetAPIErrorResponse(serr, "", "", ""))
|
||||
}
|
||||
|
||||
debuglogger.InernalError(err)
|
||||
debuglogger.InternalError(err)
|
||||
ctx.Status(http.StatusInternalServerError)
|
||||
|
||||
// If the error is not 's3err.APIError' return 'InternalError'
|
||||
|
||||
+1
-1
@@ -220,7 +220,7 @@ func globalErrorHandler(ctx *fiber.Ctx, er error) error {
|
||||
}
|
||||
|
||||
// additionally log the internal error
|
||||
debuglogger.InernalError(er)
|
||||
debuglogger.InternalError(er)
|
||||
}
|
||||
|
||||
ctx.Status(http.StatusInternalServerError)
|
||||
|
||||
Reference in New Issue
Block a user