Disable error reporting in non dev environments