When an unknown error fall back to error code

It's hard to debug otherwise