Commit 0ed460ed authored by Nugine's avatar Nugine
Browse files

fix(model): ignore EntityTooLarge 405

parent aea9bd46
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -93,7 +93,9 @@ def crawl_error_codes():
                http_status_code = None
            else:
                m = re.match(r"(\d{3})[\s\S]*", t2)
                assert m is not None, f"t2: {repr(t2)}"
                if m is None:
                    continue  # FIXME: EntityTooLarge 405
                # assert m is not None, f"t2: {repr(t2)}"
                http_status_code = int(m.group(1))

            ans.append(