New error handling added to module resource in package data. Minor coding improvements.

This commit is contained in:
Héctor Hurtado
2019-11-18 19:09:55 +01:00
parent 1249b23458
commit 7bca5b8577
6 changed files with 79 additions and 88 deletions
+1 -1
View File
@@ -128,7 +128,7 @@ func TestCheckHandlerReturnsAFunctionsThat404sWhenHandlerDoesNotExist(t *testing
fn(w, r)
for _, e := range checkErrorResponse(w.Result(), http.StatusNotFound, "Handler ID Not Found") {
t.Error(e.Error())
t.Error(e)
}
}