We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aaed930 commit cd4c1fbCopy full SHA for cd4c1fb
src/main.py
@@ -7,7 +7,6 @@
7
from traceback import print_exc
8
from fastapi.staticfiles import StaticFiles
9
from fastapi.middleware.cors import CORSMiddleware
10
-from starlette.types import Scope, Receive, Send
11
12
from pydantic import BaseModel
13
import sqlalchemy
@@ -129,7 +128,8 @@ async def url_worker():
129
128
await session.execute(update(Job).where(Job.id == next_job.id).values(completed=saved_dt, failed=None, delayed_until=None))
130
break
131
except Exception:
132
- pass
+ print("Skipping exception during URL archiving:")
+ print_exc()
133
await asyncio.sleep(10)
134
else: # Ran out of retries, try again
135
async with session.begin():
0 commit comments