Skip to content

Commit 50e548b

Browse files
committed
fix: display the check reason instead of title in exceptions
1 parent bcafe59 commit 50e548b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scim2_tester/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ class CheckResult:
5757

5858
def __post_init__(self):
5959
if self.conf.raise_exceptions and self.status == Status.ERROR:
60-
raise SCIMTesterError(self.title, self)
60+
raise SCIMTesterError(self.reason, self)
6161

6262

6363
def checker(func):

0 commit comments

Comments
 (0)