diff --git a/web/err.go b/web/err.go index b5ed1d7c..73cccf5b 100644 --- a/web/err.go +++ b/web/err.go @@ -21,7 +21,7 @@ import ( func errors(val error, c *fibre.Context) { - if c.Socket() != nil { + if c.IsSocket() { return }