mirror of
https://github.com/kataras/iris.git
synced 2025-01-23 18:51:03 +01:00
fastfix err on nil https://github.com/kataras/iris/issues/565
Former-commit-id: c8297437595e89aaa9504b3323903e4f70f80726
This commit is contained in:
parent
929b00a24b
commit
43fcdc6495
|
@ -244,6 +244,7 @@ func (w *responseWriter) Push(target string, opts *http.PushOptions) error {
|
||||||
if err != nil && err.Error() == http.ErrNotSupported.ErrorString {
|
if err != nil && err.Error() == http.ErrNotSupported.ErrorString {
|
||||||
return ErrPushNotSupported
|
return ErrPushNotSupported
|
||||||
}
|
}
|
||||||
|
return err
|
||||||
}
|
}
|
||||||
return ErrPushNotSupported
|
return ErrPushNotSupported
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user