PLT-1087: return NewAppError instead of nil

This commit is contained in:
Wim
2015-11-19 17:12:05 +01:00
parent 5f848b7479
commit 37729e86a1

View File

@@ -53,7 +53,7 @@ func AppErrorFromJson(data io.Reader) *AppError {
if err == nil {
return &er
} else {
return nil
return NewAppError("AppErrorFromJson", "could not decode", err.Error())
}
}