|  | @@ -244,7 +244,7 @@ class Scheduler(object):
 | 
											
												
													
														|  |          except Exception as exc:
 |  |          except Exception as exc:
 | 
											
												
													
														|  |              reraise(SchedulingError, SchedulingError(
 |  |              reraise(SchedulingError, SchedulingError(
 | 
											
												
													
														|  |                  "Couldn't apply scheduled task {0.name}: {exc}".format(
 |  |                  "Couldn't apply scheduled task {0.name}: {exc}".format(
 | 
											
												
													
														|  | -                    entry, exc)), sys.exc_info()[2])
 |  | 
 | 
											
												
													
														|  | 
 |  | +                    entry, exc=exc)), sys.exc_info()[2])
 | 
											
												
													
														|  |          finally:
 |  |          finally:
 | 
											
												
													
														|  |              if self.should_sync():
 |  |              if self.should_sync():
 | 
											
												
													
														|  |                  self._do_sync()
 |  |                  self._do_sync()
 |