Print unexpected error codes

This is breaking occaisionally but I can't repro it locally :(