Skip to content

Commit 38a604d

Browse files
committed
use .args for exception information
1 parent 355e896 commit 38a604d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

roundup/cgi/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -553,7 +553,7 @@ def inner_main(self):
553553
except (UsageError, Unauthorised) as msg:
554554
csrf_ok = False
555555
self.form_wins = True
556-
self._error_message = msg
556+
self._error_message = msg.args
557557

558558
if csrf_ok:
559559
# csrf checks pass. Run actions etc.

0 commit comments

Comments
 (0)