Skip to content

Commit c14b02c

Browse files
committed
Fixed a problem where an exception could be raised when reporting an exception during draft XML processing to the user.
- Legacy-Id: 15491
1 parent 3756923 commit c14b02c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ietf/submit/forms.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ def clean(self):
148148
self.xmltree = parser.parse(normalize=True)
149149
ok, errors = self.xmltree.validate()
150150
except Exception as exc:
151-
raise forms.ValidationError("An exception occurred when trying to process the XML file: %s" % exc.msg)
151+
raise forms.ValidationError("An exception occurred when trying to process the XML file: %s" % exc)
152152
if not ok:
153153
# Each error has properties:
154154
#

0 commit comments

Comments
 (0)