motion_report: Fix typo causing error reports to not propagate

The APIDumpHelper._start() method should propagate errors to its
caller.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor 2021-09-26 12:21:36 -04:00
parent 42f7845bd9
commit 1eecd412ef
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ class APIDumpHelper:
except self.printer.command_error as e: except self.printer.command_error as e:
logging.exception("API Dump Helper start callback error") logging.exception("API Dump Helper start callback error")
self._stop() self._stop()
return raise
reactor = self.printer.get_reactor() reactor = self.printer.get_reactor()
systime = reactor.monotonic() systime = reactor.monotonic()
waketime = systime + self.update_interval waketime = systime + self.update_interval