From 87b116306098f6948eac97bfe6bc5250416ac12a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krist=C3=B3f=20T=C3=B3th?= Date: Fri, 9 Feb 2018 13:14:13 +0100 Subject: [PATCH] Fix typo in error logging --- src/event_handlers/source_code_event_handler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/event_handlers/source_code_event_handler.py b/src/event_handlers/source_code_event_handler.py index b426f4a..eb64c1d 100644 --- a/src/event_handlers/source_code_event_handler.py +++ b/src/event_handlers/source_code_event_handler.py @@ -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