don't panic 🤓

fixes #93
This commit is contained in:
Lucas Clemente
2016-05-18 18:29:42 +02:00
parent 3dc50821d6
commit 7a97f34fac
15 changed files with 71 additions and 39 deletions

View File

@@ -52,7 +52,7 @@ func (w *responseWriter) WriteHeader(status int) {
BlockFragment: headers.Bytes(),
})
if err != nil {
panic(err)
utils.Errorf("could not write h2 header: %s", err.Error())
}
}