-
-
Notifications
You must be signed in to change notification settings - Fork 783
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Better error reporting #5266
Better error reporting #5266
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #5266 +/- ##
==========================================
- Coverage 91.84% 91.81% -0.03%
==========================================
Files 281 282 +1
Lines 38856 38898 +42
Branches 6793 6818 +25
==========================================
+ Hits 35686 35715 +29
- Misses 3043 3055 +12
- Partials 127 128 +1 ☔ View full report in Codecov by Sentry. |
One small nit picking left. |
src/ui/map.ts
Outdated
const globeRenderingChaged = this.style.projection.transitionState > 0 !== isGlobeRendering; | ||
this.style.projection.setErrorQueryLatitudeDegrees(this.transform.center.lat); | ||
this.transform.setTransitionState(this.style.projection.transitionState, this.style.projection.latitudeErrorCorrectionRadians); | ||
const globeRenderingChaged = this.style.projection?.transitionState > 0 !== isGlobeRendering; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Chaged should be changed, not fully related to this change obviously...
This PR avoids suppressing any error that's not an abort error or a "Framebuffer not complete" error.
While doing that I found multiple instances of errors that were being thrown and swallowed across the codebase and had to fix some tests.
Launch Checklist
CHANGELOG.md
under the## main
section.