Fix Chrome error reporting