stargate / data-api

JSON document API for Apache Cassandra (formerly known as JSON API)
https://stargate.io
Apache License 2.0
12 stars 16 forks source link

Enable `StreamReadFeature.INCLUDE_SOURCE_IN_LOCATION` to get JSON source (snippet) logged #1201

Closed tatu-at-datastax closed 1 week ago

tatu-at-datastax commented 1 week ago

Troubleshooting issues #1199 and #1200, I realized that we get following line instead of source location:

at [Source: REDACTED (`StreamReadFeature.INCLUDE_SOURCE_IN_LOCATION` disabled); line: 1, column: 1]

and we really should enable said feature so we get better idea of input that triggered the exception. (this is relatively new Jackson setting, disabled for Jackson 2.16)