Handle snapshot missing root directory
2 unresolved threads
2 unresolved threads
Compare changes
+ 4
− 3
@@ -238,9 +238,10 @@ def _get_content_from_request(request: HttpRequest) -> Dict[str, Any]:
fixes #4824 (closed)
instead of using an assert to please mypy we raise a NotFoundExc
when a snapshot is missing a root directory to avoid an unhandled exception in sentry (which happens only in staging due to a missing revision in staging storage)