Skip to content
This repository was archived by the owner on Jun 13, 2025. It is now read-only.

Conversation

@Swatinem
Copy link
Contributor

@Swatinem Swatinem commented Mar 12, 2025

The recent switch to get_flag_names has caused a couple of "new" Sentry errors. Though they are not really "new", but rather just different from previous errors.

It seems like the existing code is passing None as Report in a bunch of places, and has seemingly always done so. The error now is just a different one.

Nonetheless, I paper over that error in some places by defaulting to [] instead on an empty Report. The code will still fail on a different line though.


"Fixes" API-BF1, API-BEZ and API-BF2

The recent switch to `get_flag_names` has caused a couple of "new" Sentry errors. Though they are not really "new", but rather just different from previous errors.

It seems like the existing code is passing `None` as Report in a bunch of places, and has seemingly always done so. The error now is just a different one.

Nonetheless, I paper over that error in some places by defaulting to `[]` instead on an empty Report. The code will still fail on a different line though.
@Swatinem Swatinem self-assigned this Mar 12, 2025
@Swatinem Swatinem requested a review from a team as a code owner March 12, 2025 07:54
@overwatch-beta
Copy link

overwatch-beta bot commented Mar 12, 2025

🚨 Sentry detected 8 potential issues in your recent changes 🚨

Lower risk findings

@Swatinem Swatinem enabled auto-merge March 12, 2025 08:57
@Swatinem Swatinem added this pull request to the merge queue Mar 12, 2025
Merged via the queue into main with commit 3845bec Mar 12, 2025
24 of 25 checks passed
@Swatinem Swatinem deleted the swatinem/none-flagnames branch March 12, 2025 12:40
@JerrySentry JerrySentry restored the swatinem/none-flagnames branch March 18, 2025 21:10
JerrySentry added a commit that referenced this pull request Mar 18, 2025
@seer-by-sentry
Copy link
Contributor

seer-by-sentry bot commented Mar 18, 2025

✅ Sentry found no issues in your recent changes ✅

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants