Changeset 549d7e234a14…
Parent a8f7ffe4d58e…
by Benjamin Pollack
Changes to one file · Browse files at 549d7e234a14 Showing diff from parent a8f7ffe4d58e Diff from another changeset...
@@ -46,7 +46,7 @@ bug["ScoutUserName"] = settings.FOGBUGZ_USERNAME
bug["ScoutProject"] = settings.FOGBUGZ_PROJECT
bug["ScoutArea"] = settings.FOGBUGZ_AREA
- bug["Description"] = 'Error (%s IP): %s' % ((request.META.get('REMOTE_ADDR') in settings.INTERNAL_IPS and 'internal' or 'EXTERNAL'), request.path)
+ bug["Description"] = '%s error: %s at %s' % ((request.META.get('REMOTE_ADDR') in settings.INTERNAL_IPS and 'Internal' or 'External'), exception.__class__.__name__, request.path)
try:
request_repr = repr(request)
@@ -80,4 +80,4 @@ for end in settings.IGNORABLE_404_ENDS:
if uri.endswith(end):
return True
- return False
\ No newline at end of file+ return False
|
Loading...