Skip to content

Commit

Permalink
use placeholder in connection warning
Browse files Browse the repository at this point in the history
Reviewed By: tyao1

Differential Revision: D51354322

fbshipit-source-id: 6f687e2746837226303302584fc0756159aa9f89
  • Loading branch information
kassens authored and facebook-github-bot committed Nov 17, 2023
1 parent 7312781 commit ab92df5
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@ const DeleteEdgeHandler = {
if (connection == null) {
warning(
false,
`[Relay][Mutation] The connection with id '${connectionID}' doesn't exist.`,
"[Relay] The connection with id `%s` doesn't exist.",
connectionID,
);
continue;
}
Expand Down Expand Up @@ -135,7 +136,8 @@ function edgeUpdater(
if (connection == null) {
warning(
false,
`[Relay][Mutation] The connection with id '${connectionID}' doesn't exist.`,
"[Relay] The connection with id `%s` doesn't exist.",
connectionID,
);
continue;
}
Expand Down Expand Up @@ -205,7 +207,8 @@ function nodeUpdater(
if (connection == null) {
warning(
false,
`[Relay][Mutation] The connection with id '${connectionID}' doesn't exist.`,
"[Relay] The connection with id `%s` doesn't exist.",
connectionID,
);
continue;
}
Expand Down

0 comments on commit ab92df5

Please sign in to comment.