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

chore: improve error context #11

Merged
merged 2 commits into from
Sep 30, 2024
Merged

Conversation

zmstone
Copy link
Member

@zmstone zmstone commented Sep 27, 2024

Instead of crashing lists:zip with a function_clause.

The root cause of the crash is still unknown, maybe a missed update of prepared statement after the EMQX action is changed.
The root cause was due to prepared statement name clash, but this change should nontheless provide better hint in case similar issue happens again due to another reason.

instead of crashing lists:zip with a function_clause
src/commands/epgsql_cmd_prepared_query2.erl Outdated Show resolved Hide resolved
Co-authored-by: Thales Macedo Garitezi <[email protected]>
@zmstone zmstone merged commit bdc5036 into emqx:master Sep 30, 2024
6 checks passed
@zmstone zmstone deleted the fix-improve-error branch September 30, 2024 16:23
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.

2 participants