Add support for int.int unix timestamps

This commit is contained in:
Nise Void 2018-12-21 12:23:13 +01:00
parent 2e7870df5d
commit 0c0edfe2b8
Signed by: NiseVoid
GPG key ID: FBA14AC83EA602F3
5 changed files with 41 additions and 4 deletions

View file

@ -43,5 +43,5 @@ func (b jsonBinder) Bind(i interface{}, c echo.Context) error {
if err == io.ErrUnexpectedEOF || err == io.EOF {
return jsonError{`Unexpected EOF`}
}
return jsonError{`Unknown error occurred while parsing JSON`}
return jsonError{`Unknown error occurred while parsing JSON. ` + err.Error()}
}