When I hit a query timeout in Lucee (lucee-light@5...
# lucee
m
When I hit a query timeout in Lucee (lucee-light@5.3.10+120), I'm seeing the following in the logs:
Copy code
ERROR: canceling statement due to user request;lucee.runtime.exp.DatabaseException
is there a way I get can the query timeout to include more information?
(we've got FR hooked, up, so I know I can track it down that way, but I'm generally monitoring the logs on a daily basis, so if there were more info to point me in the right direction, that would be helpful)
c
We set out page timeout (60 seconds) to below our query timeout (30 seconds) so we can get dump for this specific issue. But would be interested in another approach.
m
(to make sure I understand what you're saying) so you lower the page time out to, for example, 28, so it's triggered before the query timeout (30), in order to get more information about what's running slow?
c
Correct
z
anything at the bottom of the stacktrace in caused by?
c
Sorry for the delayed response! coffee refill haha
m
no stack here - it's bubbling up to the application onError handler, which is logging the error message, type, and exception.rootcause.message
z
m
interesting! I'll take a look at that - thanks @zackster!