Polish logging of client-side errors on the server