misleading stack traces #1

Open
opened 2022-07-31 00:32:11 +02:00 by Tordarus · 0 comments
Tordarus commented 2022-07-31 00:32:11 +02:00 (Migrated from git.tordarus.net)

when an SQL query is invalid, the exception thrown on InitDatabase will not be pointing to the actual prepare-query call but to InitDatabase instead.

This could be fixed by always creating error objects for these cases and store them in the global stmt map. That way they can be thrown only if an actual error occurs.

when an SQL query is invalid, the exception thrown on InitDatabase will not be pointing to the actual prepare-query call but to InitDatabase instead. This could be fixed by always creating error objects for these cases and store them in the global stmt map. That way they can be thrown only if an actual error occurs.
milarin added the
bug
label 2022-08-22 14:17:32 +02:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: milarin/advsql#1
No description provided.