diff --git a/errors.go b/errors.go index d72718f2d..64fc66ca6 100644 --- a/errors.go +++ b/errors.go @@ -121,7 +121,11 @@ func (e ErrDefault403) Error() string { return "Action Forbidden" } func (e ErrDefault404) Error() string { - return "Resource not found" + e.DefaultErrString = fmt.Sprintf( + "Resource not found: [%s %s], error message: %s", + e.Method, e.URL, e.Body, + ) + return e.choseErrString() } func (e ErrDefault405) Error() string { return "Method not allowed"