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 74ff530 commit 5cfc7d2Copy full SHA for 5cfc7d2
pgcommitfest/commitfest/forms.py
@@ -84,7 +84,7 @@ def clean_threadmsgid(self):
84
_archivesAPI('/message-id.json/%s' % self.cleaned_data['threadmsgid'])
85
except Http404:
86
raise ValidationError("Message not found in archives")
87
- except:
+ except Exception:
88
raise ValidationError("Error in API call to validate thread")
89
return self.cleaned_data['threadmsgid']
90
@@ -137,7 +137,7 @@ def clean_responseto(self):
137
self.respid = respid
138
except MailThread.DoesNotExist:
139
raise ValidationError('Selected thread appears to no longer exist')
140
141
raise ValidationError('Invalid message selected')
142
return self.cleaned_data['responseto']
143
0 commit comments