@ -284,8 +284,12 @@ func (e *Echo) DefaultHTTPErrorHandler(err error, c Context) {
msg=err.Error()
}
if!c.Response().Committed(){
ifc.Request().Method()==HEAD{// Issue #608
c.NoContent(code)
}else{
c.String(code,msg)
}
}
e.logger.Error(err)
}
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.