Open ffxsam opened 2 years ago
I'm not sure what the underlying reason is but it looks like a general problem with errors from the AWS JS SDK https://github.com/aws/aws-sdk-js/issues/1358. A comment on that issue says that it has been fixed in the v3 SDK as it needed a major version change https://github.com/aws/aws-sdk-js/issues/1358#issuecomment-754494140
I've patched my own personal version of data-api-client to use the v3 SDK. I'll have to pay attention to whether db errors trace differently now.
Has anyone else noticed your stack traces don't seem to go back as far as they should when there's a SQL error?
I wonder why it starts within the AWS SDK library, and not my actual code. Anyone know? It makes it incredibly difficult to debug issues.