mozilla-services/shavar

Revert to branch url to original url

Closed this issue · 0 comments

About this Issue

While getting versioned lists if there is no versioned item and next versioned item is checked we get the following error:

 Mar 21 00:13:51 ip-172-31-45-92 docker-shavar[23931]: Top level Sentry exception caught - failed creating log record 10 Mar 21 00:13:51 ip-172-31-45-92 docker-shavar[23931]: b'Skipping 74.0 version support for google-trackwhite-digest256 since the file does not exist in S3'
Mar 21 00:13:51 ip-172-31-45-92 docker-shavar[23931]: b'Traceback (most recent call last):\n  File "./shavar/lists.py", line 64, in add_versioned_lists_to_registry\n    list_._source.load()\n  File "./shavar/    sources.py", line 161, in load\n    raise NoDataError(\'No chunk file found at "%s"\' % self.source_url)\nshavar.exceptions.NoDataError: No chunk file found at "s3+file://net-mozaws-prod-shavar/entity/74.0/73    .0/72.0/71.0/70.0/69.0/google-trackwhite-digest256"\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n  File "/usr/local/lib/python3.7/site-packages    /raven/handlers/logging.py", line 97, in emit\n    return self._emit(record)\n  File "/usr/local/lib/python3.7/site-packages/raven/handlers/logging.py", line 161, in _emit\n    handler_kwargs[\'formatted\'] =     text_type(record.message)\nAttributeError: \'LogRecord\' object has no attribute \'message\'\n'
(edited)

Acceptance Criteria

  • When versioned list is not found return the url to check back to original url with /master