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 15c47c8 commit 1138fd5Copy full SHA for 1138fd5
miss_islington/__main__.py
@@ -38,6 +38,10 @@ async def main(request):
38
# Give GitHub some time to reach internal consistency.
39
await asyncio.sleep(1)
40
await router.dispatch(event, gh)
41
+ try:
42
+ print(f"GH requests remaining: {gh.rate_limit.remaining}")
43
+ except AttributeError:
44
+ pass
45
return web.Response(status=200)
46
except Exception as exc:
47
traceback.print_exc(file=sys.stderr)
0 commit comments