Add a server startup log (#154)

This commit is contained in:
Suchintan 2024-04-04 00:05:55 -04:00 committed by GitHub
parent d7e13214c9
commit c538523c88
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -65,6 +65,8 @@ class Agent:
LOG.info("Starting the skyvern scheduler.")
SCHEDULER.start()
LOG.info("Server startup complete. Skyvern is now online")
@app.exception_handler(Exception)
async def unexpected_exception(request: Request, exc: Exception) -> JSONResponse:
LOG.exception("Unexpected error in agent server.", exc_info=exc)