sqlite: handle conflicting SQLite and JS errors · nodejs/node@01d732d

sqlite: handle conflicting SQLite and JS errors

This commit adds support for the situation where SQLite is trying to report an error while JavaScript already has an exception pending. Fixes: #56772 PR-URL: #56787 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com>

1 parent ee33ef3 commit 01d732d