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
I'm really sorry if it's something obvious, but I couldn't find any solution to this. When I use rawQuery, it outputs full SQL query into 'message' in case of exception - which is, of course, far from expected in production.
What's my options here? Is there some way to output error itself only? My only idea right now is to detect crash in rawQuery in handler.ts/handle, and then cut error by myself - which not only sounds stupid, but also could be dangerous.
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
-
I'm really sorry if it's something obvious, but I couldn't find any solution to this. When I use rawQuery, it outputs full SQL query into 'message' in case of exception - which is, of course, far from expected in production.
What's my options here? Is there some way to output error itself only? My only idea right now is to detect crash in rawQuery in handler.ts/handle, and then cut error by myself - which not only sounds stupid, but also could be dangerous.
Beta Was this translation helpful? Give feedback.
All reactions