Skip to content

Commit 9832d84

Browse files
committed
rm errors from isErrorCodeImportant
1 parent 62131dc commit 9832d84

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/Common/Exception.cpp

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -274,12 +274,7 @@ bool Exception::isErrorCodeImportant() const
274274
{
275275
const int error_code = code();
276276
return error_code == ErrorCodes::LOGICAL_ERROR
277-
|| error_code == ErrorCodes::POTENTIALLY_BROKEN_DATA_PART
278-
|| error_code == ErrorCodes::REPLICA_ALREADY_EXISTS
279-
|| error_code == ErrorCodes::NOT_ENOUGH_SPACE
280-
|| error_code == ErrorCodes::CORRUPTED_DATA
281-
|| error_code == ErrorCodes::CHECKSUM_DOESNT_MATCH
282-
|| error_code == ErrorCodes::CANNOT_WRITE_TO_FILE_DESCRIPTOR;
277+
|| error_code == ErrorCodes::POTENTIALLY_BROKEN_DATA_PART;
283278
}
284279

285280
Exception::~Exception()

0 commit comments

Comments
 (0)