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

Update the note about the default GQLSTATUS code 50N42 (#1992) #1993

Merged
merged 1 commit into from
Nov 28, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions modules/ROOT/pages/monitoring/logging.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -1300,9 +1300,10 @@ The query log includes the GQL error information under the JSON object `errorInf

[NOTE]
====
The default GQLSTATUS code `50N42` is returned when an exception does not have a GQL object.
Starting from Neo4j 5.25, GQL objects are added to exceptions; therefore, you can expect many `50N42` codes.
However, it's important not to rely on this default code, as future Neo4j versions might change it by adding an appropriate GQL object to the exception.
The default GQLSTATUS code 50N42 is returned when an exception does not have a GQL-status object.
Starting from Neo4j 5.25, we started adding GQL objects to exceptions.
Therefore, you can expect many 50N42 codes during this transition period.
However, it is important not to rely on this default code, as future Neo4j versions might change it by adding an appropriate GQL object to the exception.
Additionally, GQL codes for external procedures are not yet stable.
====

Expand Down