Skip to content

Use type parameter in FormattedError constructor - #1906

Merged
dandelany merged 3 commits into
developfrom
fix/formatted-error
Nov 19, 2026
Merged

dandelany merged 3 commits into
developfrom
fix/formatted-error

Conversation

@Mythicaeda

Copy link
Copy Markdown
Collaborator

Quick one-liner to fix a bug I saw while looking at this class. Despite the type parameter being passed into this constructor, it was always using a hardcoded value of INTERNAL_ERROR

@Mythicaeda
Mythicaeda requested a review from dandelany November 18, 2026 19:44
@Mythicaeda Mythicaeda self-assigned this Nov 18, 2026
@Mythicaeda
Mythicaeda requested a review from a team as a code owner November 18, 2026 19:44
@Mythicaeda Mythicaeda added the fix A bug fix label Nov 18, 2026
@sonarqubecloud

Copy link
Copy Markdown

@dandelany dandelany left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

👍 good catch, thanks! I just added one small test change in 6329873 to make sure it covers this error type in future. Merging.

@dandelany
dandelany merged commit ff8bc2c into develop Nov 19, 2026
23 of 24 checks passed
@dandelany
dandelany deleted the fix/formatted-error branch November 19, 2026 22:51

This branch was previously deployed

1 inactive deployment
e2e-test — 6329873d Deployed Nov 19, 2026 by dandelany via db-tests #6676
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fix A bug fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants