Fix new Sonar smell

This commit is contained in:
Artem Bilan
2021-01-25 11:10:59 -05:00
parent 524ad1cb0b
commit 335a30c0f0

View File

@@ -261,7 +261,7 @@ public abstract class TestUtils {
// message will be logged only
logger.warn("Error message was not delivered.", errorDeliveryError);
if (errorDeliveryError instanceof Error) { // NOSONAR
throw ((Error) errorDeliveryError);
throw (Error) errorDeliveryError;
}
}
}