Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make threadSiteSubscriber install sites that are unrecognized.
Instead of raising LocationError. The rationale is thus: 1) We don't have unexpected 404s in production so we're not hitting this case. Therefore, it should have no production impact. 2) Raising is highly surprising. 3) We want to encourage more (correct, careful) use of scoped sites (e.g., courses can be sites, with their questions contained in their local site manager). 4) Adding more special cases devolves into a game of whack-a-mole. There's a general rule (when traversing into a site, apply it), lets use that. Because 'Special cases aren't special enough to break the rules.'
- Loading branch information
Showing
4 changed files
with
99 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters