No need to send error message if request is complete
This commit is contained in:
parent
8883645aa7
commit
fd3df8dbfc
1 changed files with 4 additions and 0 deletions
|
@ -25,6 +25,10 @@ func errors(val error, c *fibre.Context) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if c.IsComplete() {
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
var code int
|
var code int
|
||||||
var info string
|
var info string
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue