Fix missed instances of ctx.ui_node.log_info
This commit is contained in:
parent
15b949d780
commit
dfc64266b9
|
@ -1164,7 +1164,7 @@ async def track_locations(ctx : Context, roomid, roomdata):
|
||||||
new_check(my_check)
|
new_check(my_check)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
print(e)
|
print(e)
|
||||||
ctx.ui_node.log_info(f"Exception: {e}")
|
logger.info(f"Exception: {e}")
|
||||||
|
|
||||||
|
|
||||||
for location, (loc_roomid, loc_mask) in location_table_uw.items():
|
for location, (loc_roomid, loc_mask) in location_table_uw.items():
|
||||||
|
@ -1228,7 +1228,7 @@ async def track_locations(ctx : Context, roomid, roomdata):
|
||||||
new_locations.append(my_id)
|
new_locations.append(my_id)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
print(e)
|
print(e)
|
||||||
ctx.ui_node.log_info(f"Exception: {e}")
|
logger.info(f"Exception: {e}")
|
||||||
|
|
||||||
|
|
||||||
await ctx.send_msgs([['LocationChecks', new_locations]])
|
await ctx.send_msgs([['LocationChecks', new_locations]])
|
||||||
|
|
Loading…
Reference in New Issue