Skip to content

Commit

Permalink
Debug failing CI
Browse files Browse the repository at this point in the history
  • Loading branch information
chromium7 committed Mar 30, 2024
1 parent 7cd58c9 commit c746169
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion django_rq/tests/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,8 @@ def get_queue_index(name: str = 'default') -> int:


def query_user() -> Optional[User]:
return User.objects.first()
try:
return User.objects.first()
except Exception as e:
print('Exception caught when querying user: ', e)
raise e

0 comments on commit c746169

Please sign in to comment.