Skip to content

Commit

Permalink
Error
Browse files Browse the repository at this point in the history
  • Loading branch information
BeatrixCohere committed Aug 9, 2024
1 parent cd1a100 commit 5861adf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/backend/routers/tool.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import traceback
from fastapi import APIRouter, Depends, HTTPException, Request

from backend.config.routers import RouterName
Expand Down Expand Up @@ -59,7 +60,7 @@ def list_tools(
tool.auth_url = tool_auth_service.get_auth_url(user_id)
tool.token = tool_auth_service.get_token(session, user_id)
except Exception as e:
logger.error(event=f"Error while fetching Tool Auth: {str(e)}")
logger.error(event=f"Error while fetching Tool Auth: {str(e)}, stack: {traceback.format_exc()}")

tool.is_available = False
tool.error_message = (
Expand Down

0 comments on commit 5861adf

Please sign in to comment.