You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As mentioned above I am trying to show explain statement in case sql has timed out. But currently having problem making this work. Currently managed to create wrapper:
But I could not catch timeout errors with try catch inside sqlWrapper. As I understand, timeout error would only be available outside in await sql. Is there any way to catch this error inside wrapper? Thanks a lot
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
As mentioned above I am trying to show explain statement in case sql has timed out. But currently having problem making this work. Currently managed to create wrapper:
But I could not catch timeout errors with
try catch
insidesqlWrapper
. As I understand, timeout error would only be available outside inawait sql
. Is there any way to catch this error inside wrapper? Thanks a lotBeta Was this translation helpful? Give feedback.
All reactions