Cleanup: remove stray ellipsis in update_todo exception handler
This commit is contained in:
@@ -362,8 +362,6 @@ async def update_todo(project_id: str, todo_id: str,
|
|||||||
"message": "Todo updated successfully"
|
"message": "Todo updated successfully"
|
||||||
}
|
}
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
# existing exception handling…
|
|
||||||
...
|
|
||||||
logger.error(f"Error updating todo: {e}")
|
logger.error(f"Error updating todo: {e}")
|
||||||
if "401" in str(e) and "expired" in str(e).lower():
|
if "401" in str(e) and "expired" in str(e).lower():
|
||||||
return {
|
return {
|
||||||
|
|||||||
Reference in New Issue
Block a user