added loggers
This commit is contained in:
@@ -607,13 +607,12 @@ class RotaryHandler(bbctrl.APIHandler):
|
||||
|
||||
def put_ok(self):
|
||||
try:
|
||||
log.info("RotaryHandler: Received request to change rotary axis")
|
||||
status = self.json.get('status', None)
|
||||
ctrl = self.get_ctrl()
|
||||
config = ctrl.config
|
||||
log = self.get_log('RotaryHandler')
|
||||
path = ctrl.get_path('config.json')
|
||||
|
||||
log.info("RotaryHandler: Received request to change rotary axis")
|
||||
if status is None:
|
||||
raise Exception("No status provided")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user