Add a server startup log (#154)
This commit is contained in:
@@ -65,6 +65,8 @@ class Agent:
|
|||||||
LOG.info("Starting the skyvern scheduler.")
|
LOG.info("Starting the skyvern scheduler.")
|
||||||
SCHEDULER.start()
|
SCHEDULER.start()
|
||||||
|
|
||||||
|
LOG.info("Server startup complete. Skyvern is now online")
|
||||||
|
|
||||||
@app.exception_handler(Exception)
|
@app.exception_handler(Exception)
|
||||||
async def unexpected_exception(request: Request, exc: Exception) -> JSONResponse:
|
async def unexpected_exception(request: Request, exc: Exception) -> JSONResponse:
|
||||||
LOG.exception("Unexpected error in agent server.", exc_info=exc)
|
LOG.exception("Unexpected error in agent server.", exc_info=exc)
|
||||||
|
|||||||
Reference in New Issue
Block a user