Removed unused function
This commit is contained in:
parent
e1854c265e
commit
1ddbccd6c8
|
@ -42,8 +42,3 @@ func HandleHTTPError(err error, ctx echo.Context) *echo.HTTPError {
|
|||
config.LoggingProvider.Error(err.Error())
|
||||
return echo.NewHTTPError(http.StatusInternalServerError)
|
||||
}
|
||||
|
||||
// Helper function to get the logger
|
||||
func getLogger(ctx echo.Context) *logging.Logger {
|
||||
return ctx.Get("LoggingProvider").(*logging.Logger)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user