Improve error formatting over network