Skip to content

Commit

Permalink
backout D65697979
Browse files Browse the repository at this point in the history
Reviewed By: evanyeung

Differential Revision: D66139066

fbshipit-source-id: 79f5e0c17c07e3ae56f0d8d0477c75b70543f4a4
  • Loading branch information
itamark authored and facebook-github-bot committed Nov 19, 2024
1 parent 57756e6 commit f761dd1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/relay-runtime/store/RelayReader.js
Original file line number Diff line number Diff line change
Expand Up @@ -437,8 +437,8 @@ class RelayReader {
.map(error => {
switch (error.kind) {
case 'relay_field_payload.error':
const {path} = error.error;
return {path};
const {message, ...displayError} = error.error;
return displayError;
case 'missing_expected_data.throw':
case 'missing_expected_data.log':
return {
Expand Down

0 comments on commit f761dd1

Please sign in to comment.