Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue 17232 - sql.trim() fatal error #17233

Closed
wants to merge 1 commit into from

Conversation

redechidna
Copy link

Description of Changes

fix - #17232 - sql.trim() fatal error

@redechidna redechidna requested a review from a team as a code owner April 1, 2024 13:46
@redechidna redechidna requested review from ephys and WikiRik April 1, 2024 13:46
Copy link
Member

@WikiRik WikiRik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not a safe solution for this problem. Instead of silently returning null we should throw an error explaining what was passed as sql.

Furthermore; I don't think this will solve your original issue. You mentioned that your project does not make use of sequelize.query() so the actual root cause is in one of the other functions. Can you update your original issue with at least the full stacktrace so we can see if we can help you out further?

@redechidna redechidna closed this Apr 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants