Skip to content
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
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,11 @@ public static Command SetActionWithExceptionHandling(

console.Error.WriteErrorLine(message);
}
catch (NitroClientGraphQLException ex) when (ex.Code == "HC0067")
catch (NitroClientGraphQLException ex) when (ex.Code == "HC0020")
{
console.Error.WriteErrorLine(
"The server rejected the persisted operation of the command. Make sure your Nitro backend is on the latest version.");
"The server rejected the persisted operation of the command. "
+ "If you are running a self-hosted instance, make sure it's running the latest version, or downgrade your CLI to match.");
}
catch (NitroClientGraphQLException ex)
{
Expand Down
Loading