Skip to content

Conversation

@7ttp
Copy link
Contributor

@7ttp 7ttp commented Dec 9, 2025

summary

removes unnecessary console.log that spams user logs when jsonb columns contain primitive string values.

problem

the toJson transformer logs JSON parse error to console whenever JSON.parse fails. this happens when jsonb columns store primitive strings. the function already handles this gracefully by returning the original value, but the console.log spams production logs.

fix

remove the console.log. the error is already handled by returning the original value.

closes #1731

cc @mandarini

@7ttp 7ttp requested review from a team as code owners December 9, 2025 19:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant