From 8883645aa79049e2313140201734fe33e0c01d54 Mon Sep 17 00:00:00 2001 From: Tobie Morgan Hitchcock Date: Thu, 16 Nov 2017 20:38:33 +0000 Subject: [PATCH] No need to send error message if websocket --- web/err.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }