-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
When testing admin on condor, observed that stats button does not do anything when clicked and return error on condor logs
2026-02-20 13:50:39,477 - __main__ - ERROR - Exception while handling an update:
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/telegram/ext/_application.py", line 1315, in process_update
await coroutine
File "/usr/local/lib/python3.12/site-packages/telegram/ext/_handlers/basehandler.py", line 159, in handle_update
return await self.callback(update, context)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/utils/auth.py", line 126, in wrapped
return await func(update, context, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/handlers/admin/__init__.py", line 109, in admin_callback_handler
await _show_stats(query, context)
File "/app/handlers/admin/__init__.py", line 490, in _show_stats
f" Entries: {len(cm.cm.get('audit_log', []))}\n"
^^^^^
AttributeError: 'ConfigManager' object has no attribute 'cm'
Steps to reproduce
- Setup condor + hummingbot-api
- Go to admin or /admin
- Click
stats
Attach required files
n/a
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working