Skip to content

[#723] Expose HTTP status and response metadata on CanvasException - #724

Merged
Thetwam merged 1 commit into
ucfopen:developfrom
lucasmcclean:issue/723-canvasexception-should-expose-http-status-code
Nov 30, 2026
Merged

Thetwam merged 1 commit into
ucfopen:developfrom
lucasmcclean:issue/723-canvasexception-should-expose-http-status-code

Conversation

@lucasmcclean

Copy link
Copy Markdown
Member

Proposed Changes

  • Expose the HTTP status code and original response on CanvasAPI exceptions.
  • Generic errors can now be handled without parsing the exception message, and specialized HTTP exceptions receive the same metadata.

Fixes #723

@codecov

codecov Bot commented Nov 30, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (513588f) to head (ff1ab34).

Additional details and impacted files
@@            Coverage Diff            @@
##           develop      #724   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           75        75           
  Lines         3800      3800           
=========================================
  Hits          3800      3800           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@Thetwam Thetwam left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks 😄

@Thetwam
Thetwam merged commit 3ca6747 into ucfopen:develop Nov 30, 2026
7 checks passed
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.

CanvasException should expose HTTP status code

2 participants