Prevent bogus error messages when a mode throws an error