@ -290,6 +290,8 @@ func (e *Echo) DefaultHTTPErrorHandler(err error, c Context) {
ifhe,ok:=err.(*HTTPError);ok{
code=he.Code
msg=he.Message
}elseife.Debug{
msg=err.Error()
}else{
msg=http.StatusText(code)
}
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.