From fd3df8dbfc238db0bb5b0b41533280cdc3a8a8d8 Mon Sep 17 00:00:00 2001 From: Tobie Morgan Hitchcock Date: Thu, 16 Nov 2017 20:38:45 +0000 Subject: [PATCH] No need to send error message if request is complete --- web/err.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/web/err.go b/web/err.go index 73cccf5b..b87f7f74 100644 --- a/web/err.go +++ b/web/err.go @@ -25,6 +25,10 @@ func errors(val error, c *fibre.Context) { return } + if c.IsComplete() { + return + } + var code int var info string