-
Notifications
You must be signed in to change notification settings - Fork 9
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
Bug/wf1 post error #3023
Bug/wf1 post error #3023
Conversation
Codecov Report
@@ Coverage Diff @@
## main #3023 +/- ##
==========================================
+ Coverage 85.13% 85.16% +0.02%
==========================================
Files 300 300
Lines 10046 10051 +5
Branches 586 587 +1
==========================================
+ Hits 8553 8560 +7
+ Misses 1335 1333 -2
Partials 158 158
... and 1 file with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
Raise exception on api route so it's seen by the frontend
- exceptions now using fastapi HTTPExceptions and status' - test updated to reflect catching new Exception
-Altered error messaging in the case that posting to WF1 is unsuccessful
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
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.
Great work!
Shows an error when failing to submit a forecast to WF1 - Throws HTTPException upon failure to post along with message which surfaces on the front end - Adds/modifies several tests on both backend and frontend Co-authored-by: Conor Brady <[email protected]>
Test Links:
Landing Page
MoreCast 2.0
Percentile Calculator
MoreCast
C-Haines
FireBat
FireBat bookmark
Auto Spatial Advisory (ASA)
HFI Calculator