Skip to content

Commit

Permalink
Update the note about the default GQLSTATUS code 50N42 (#1992)
Browse files Browse the repository at this point in the history
  • Loading branch information
renetapopova committed Nov 28, 2024
1 parent eb4c3a1 commit 58574f0
Showing 1 changed file with 4 additions and 3 deletions.
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

0 comments on commit 58574f0

Please sign in to comment.