-
Notifications
You must be signed in to change notification settings - Fork 262
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
Expose when externalContestSource (URI) returns non200 #2140
Conversation
If we are adding fields to the contest source anyway, we could also add the actual error there and display it on that page? |
We do show the HTTP error on the page, not on the internal error (yet) as I was not sure if we want the internal error. |
564d092
to
d876911
Compare
14bd399
to
88ddbf4
Compare
Exposes when externalContestSource (URI) returns a non HTTP 200. To trigger this: create a contest with http://URL// (the double // is important)
88ddbf4
to
711479c
Compare
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.
I love it like this. Way simpler.
To trigger this: create a contest with http://URL// (the double // is important)
Currently this does create the internal error but I'm not sure if we should do this, this is not really an internal error as its an external error. The InternalError class doesn't have support for this yet and we have nothing to disable.Currently ignoring the error works, resolving keeps on hanging.Opening the PR mostly for the discussion. Personally I think having an item under internalError view is nice as it alerts but its also a bit misusing the concept.This will add 1 extra alert in the shadow tab of the menu and mention that we're down.For the issue see: #2117