We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a6faec5 commit 78aa05eCopy full SHA for 78aa05e
contentctl/objects/rba.py
@@ -86,5 +86,5 @@ def severity(self)->RiskSeverity:
86
elif 80 < self.risk_score <= 100:
87
return RiskSeverity.CRITICAL
88
else:
89
- raise Exception(f"Error getting severity - risk_score must be between 0-100, but was actually {max_score}")
+ raise Exception(f"Error getting severity - risk_score must be between 0-100, but was actually {self.risk_score}")
90
0 commit comments