Skip to content

Conversation

@Akanshu-2u
Copy link

Description:

User retirement failures were difficult to debug due to limited logging information.

Solution:

Enhanced exception logging in LMSAccountRetirementView:

  • Changed log.error to log.exception to include full stacktraces
  • Added exception_type logging for better error classification
  • Maintains original response behavior

Private JIRA Link:

BOMS-290

Copilot AI review requested due to automatic review settings January 7, 2026 10:07
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR improves error logging for user retirement operations by enhancing exception handling in the LMSAccountRetirementView to include full stack traces and better error classification.

  • Changed from log.error to log.exception in three exception handlers to capture full stack traces
  • Added exception_type logging to provide explicit exception classification in log messages

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@Akanshu-2u Akanshu-2u merged commit a013346 into release-ulmo Jan 7, 2026
64 checks passed
@Akanshu-2u Akanshu-2u deleted the aaich/BOMS-290-add-log-exception branch January 7, 2026 16:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants