Pass arguments to the logger the correct way

This commit is contained in:
Roberto Rosario
2014-11-02 20:55:21 -04:00
parent 654022807f
commit ba1729106f
30 changed files with 106 additions and 107 deletions

View File

@@ -63,7 +63,7 @@ class StagingUploadForm(UploadBaseForm):
(staging_file.encoded_filename, unicode(staging_file)) for staging_file in self.source.get_files()
]
except Exception as exception:
logger.error('exception: %s' % exception)
logger.error('exception: %s', exception)
pass
# Put staging_list field first in the field order list