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