holmesgpt
holmesgpt copied to clipboard
Annoying error: Failed to fetch global instructions
We're using Holmes as a part of Robusta integration but we deliberately do not use Robusta UI and as such do not provide any Robusta/Store details. As result we're correctly seeing the following during initialization:
2025-05-01 21:08:29,530 INFO Not connecting to Robusta platform - robusta token not provided - using ROBUSTA_AI will not be possible
2025-05-01 21:08:29.530 INFO Robusta store not initialized. Skipping upserting holmes status.
2025-05-01 21:08:31.125 INFO Robusta store not initialized. Skipping sync holmes toolsets.
But then each time we use "Ask Holmes" button we see the following in the logs:
2025-05-01 21:27:00.741 ERROR Failed to fetch global instructions
Traceback (most recent call last):
File "/app/holmes/core/supabase_dal.py", line 383, in get_global_instructions_for_account
self.client.table(RUNBOOKS_TABLE)
^^^^^^^^^^^
AttributeError: 'SupabaseDal' object has no attribute 'client'
From my understanding this is neither critical nor important as it's coming from the same code that checks the presence of Robusta UI details, however it is rather annoying as it creates a false positive error.
Would there be a way to possibly avoid logging this error in the same way you do during the startup?
Thanks in advance
We're in favor! Would you be interested in opening a PR for this?