Skip to content

Commit

Permalink
add uwregid to error logging
Browse files Browse the repository at this point in the history
  • Loading branch information
jlaney committed Apr 25, 2024
1 parent 9152170 commit 82566f6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion compass/views/api/student.py
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,8 @@ def get(self, request, uwregid):
uwregid, term)
transcript_dict['class_schedule'] = class_schedule.json_data()
except DataFailureException as ex:
logger.info(f'Error fetching class schedule: {ex}')
logger.info(
f'Error fetching class schedule for {uwregid}: {ex}')
transcript_dict['class_schedule'] = None
transcript_data.append(transcript_dict)

Expand Down

0 comments on commit 82566f6

Please sign in to comment.