Fix typo in error logging

This commit is contained in:
Kristóf Tóth 2018-02-09 13:14:13 +01:00
parent 015d2c5019
commit 87b1163060

View File

@ -66,7 +66,7 @@ class SourceCodeEventHandler(EventHandlerBase, SupervisorMixin):
def write(self, data):
try: self.filemanager.file_contents = data['content']
except Exception: log.exception('Error reading file!')
except Exception: log.exception('Error writing file!')
data['files'] = self.filemanager.files
self.restart_process()
return data