Fix workspace bucket fallback + typing error logging
This commit is contained in:
@@ -55,8 +55,9 @@ class TelegramAdapter:
|
||||
'chat_id': self.chat_id,
|
||||
'action': 'typing',
|
||||
})
|
||||
except Exception:
|
||||
pass
|
||||
except Exception as e:
|
||||
import traceback
|
||||
print(f'[telegram] send_typing failed: {e}\n{traceback.format_exc()}')
|
||||
|
||||
def edit(self, message_id: str, text: str) -> None:
|
||||
"""Edit an existing message in-place."""
|
||||
|
||||
@@ -14,7 +14,7 @@ def _get_s3():
|
||||
|
||||
|
||||
def get_bucket() -> str:
|
||||
return os.environ['WORKSPACE_BUCKET_NAME']
|
||||
return os.environ.get('WORKSPACE_BUCKET_NAME', 'agent-claw-workspace-495395224548')
|
||||
|
||||
|
||||
def read_file(path: str) -> str:
|
||||
|
||||
Reference in New Issue
Block a user