activate error reporting