starting error reporting