Skip to content

Commit

Permalink
Include hint in query error (#548)
Browse files Browse the repository at this point in the history
  • Loading branch information
dwwoelfel authored Nov 26, 2024
1 parent e972fa3 commit fab247b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions client/packages/core/src/Reactor.js
Original file line number Diff line number Diff line change
Expand Up @@ -530,6 +530,10 @@ export default class Reactor {
message: msg.message || "Uh-oh, something went wrong. Ping Joe & Stopa.",
};

if (msg.hint) {
errorMessage.hint = msg.hint;
}

if (prevMutation) {
// This must be a transaction error
const errDetails = {
Expand Down

0 comments on commit fab247b

Please sign in to comment.