diff --git a/hpctestlib/system/fs/trivy_scan.py b/hpctestlib/system/fs/trivy_scan.py index 69b1848adb..805becc4e7 100644 --- a/hpctestlib/system/fs/trivy_scan.py +++ b/hpctestlib/system/fs/trivy_scan.py @@ -97,7 +97,7 @@ def check_supported_trivy_version(self): validator = VersionValidator(f'>=0.37.0') if not validator.validate(self.trivy_release): - raise ReframeError(f'trivy version {self.trivy_release} ' + raise ValueError(f'trivy version {self.trivy_release} ' f'is not supported') @run_after('init')