mirror of
https://github.com/FlareSolverr/FlareSolverr.git
synced 2025-06-08 12:35:30 +00:00
Include exception message in error response
This commit is contained in:
parent
5a9fb67d62
commit
a24fa6d968
@ -415,7 +415,7 @@ const browserRequest = async (ctx: RequestContext, params: BaseRequestAPICall) =
|
||||
}
|
||||
} catch (error) {
|
||||
log.error(error)
|
||||
return ctx.errorResponse("Unable to process browser request")
|
||||
return ctx.errorResponse("Unable to process browser request. Error: " + error)
|
||||
} finally {
|
||||
if (oneTimeSession) { sessions.destroy(sessionId) }
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user