Skip to content

Commit

Permalink
minor fix to create policy handler
Browse files Browse the repository at this point in the history
  • Loading branch information
AlbertSnows committed Nov 19, 2024
1 parent 0e8ab3f commit 4914ffe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gen3userdatalibrary/routes/dependencies.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@ async def ensure_user_exists(request: Request):
policy_json=policy_json
)
except ArboristError as ae:
logging.error(f"Error creating policy in arborist: {(ae.code, ae.message)}")
logging.error(f"Error creating policy in arborist: {str(e)}")
raise HTTPException(
status_code=status.HTTP_500_INTERNAL_SERVER_ERROR,
detail="Internal error interfacing with arborist",
detail="Internal error creating a policy in arborist",
)


Expand Down

0 comments on commit 4914ffe

Please sign in to comment.