diff --git a/telegram/ext/jobqueue.py b/telegram/ext/jobqueue.py index 8169be376..60fe921b9 100644 --- a/telegram/ext/jobqueue.py +++ b/telegram/ext/jobqueue.py @@ -128,8 +128,8 @@ class JobQueue(object): job.run(self.bot) except: - self.logger.exception( - 'An uncaught error was raised while executing job %s', job.name) + self.logger.exception('An uncaught error was raised while executing job %s', + job.name) else: self.logger.debug('Skipping disabled job %s', job.name)