updated server-side error reporting