Commits

chrislawlor  committed 6fb47a6

Missed the obvious place to add logging

  • Participants
  • Parent commits dad139e

Comments (0)

Files changed (1)

File murphy/views/release.py

                 # release submitted successfully
                 return HttpResponseRedirect(plugin.get_absolute_url())
 
-            except IOError, (errno, strerror):
+            except Exception, ex:
+		logging.warning('Exception during file uppload: %s' % ex)
                 form = ReleaseSubmitForm(plugin=plugin)
                 #form.errors['file': "There was an error uploading your file."]