Better error logging on server.