Standardize CLI Errors #17873
Annotations
7 errors
run integration tests:
integration-tests/tests/cli/schema.spec.ts#L106
Error: Snapshot `STITCHING > publishing invalid schema SDL provides meaningful feedback for the user. > schemaPublish 1` mismatched
- Expected
+ Received
:::::::::::::::: CLI FAILURE OUTPUT :::::::::::::::
exitCode------------------------------------------:
2
stderr--------------------------------------------:
- Error: The SDL is not valid at line 1, column 1:
+ › Error: The SDL is not valid at line 1, column 1:
- Syntax Error: Unexpected Name "iliketurtles".
+ › Syntax Error: Unexpected Name "iliketurtles". [301]
+ › > See https://__URL__ for
+ › a complete list of error codes and recommended fixes.
+ › To disable this message set HIVE_NO_ERROR_TIP=1
stdout--------------------------------------------:
- ✖ Failed to publish schema
+ __NONE__
❯ tests/cli/schema.spec.ts:106:9
|
run integration tests:
integration-tests/tests/cli/schema.spec.ts#L195
Error: Snapshot `STITCHING > schema:publish should see Invalid Token error when token is invalid > schemaPublish 1` mismatched
- Expected
+ Received
:::::::::::::::: CLI FAILURE OUTPUT :::::::::::::::
exitCode------------------------------------------:
2
stderr--------------------------------------------:
- › Error: Invalid token provided
- › Reference: __ID__
+ › Error: A valid registry token is required to perform the action. The
+ › registry token used does not exist or has been revoked. [106]
+ › > See https://__URL__ for
+ › a complete list of error codes and recommended fixes.
+ › To disable this message set HIVE_NO_ERROR_TIP=1
stdout--------------------------------------------:
- ✖ Failed to publish schema
+ __NONE__
❯ tests/cli/schema.spec.ts:195:9
|
run integration tests:
integration-tests/tests/cli/schema.spec.ts#L106
Error: Snapshot `FEDERATION > publishing invalid schema SDL provides meaningful feedback for the user. > schemaPublish 1` mismatched
- Expected
+ Received
:::::::::::::::: CLI FAILURE OUTPUT :::::::::::::::
exitCode------------------------------------------:
2
stderr--------------------------------------------:
- Error: The SDL is not valid at line 1, column 1:
+ › Error: The SDL is not valid at line 1, column 1:
- Syntax Error: Unexpected Name "iliketurtles".
+ › Syntax Error: Unexpected Name "iliketurtles". [301]
+ › > See https://__URL__ for
+ › a complete list of error codes and recommended fixes.
+ › To disable this message set HIVE_NO_ERROR_TIP=1
stdout--------------------------------------------:
- ✖ Failed to publish schema
+ __NONE__
❯ tests/cli/schema.spec.ts:106:9
|
run integration tests:
integration-tests/tests/cli/schema.spec.ts#L195
Error: Snapshot `FEDERATION > schema:publish should see Invalid Token error when token is invalid > schemaPublish 1` mismatched
- Expected
+ Received
:::::::::::::::: CLI FAILURE OUTPUT :::::::::::::::
exitCode------------------------------------------:
2
stderr--------------------------------------------:
- › Error: Invalid token provided
- › Reference: __ID__
+ › Error: A valid registry token is required to perform the action. The
+ › registry token used does not exist or has been revoked. [106]
+ › > See https://__URL__ for
+ › a complete list of error codes and recommended fixes.
+ › To disable this message set HIVE_NO_ERROR_TIP=1
stdout--------------------------------------------:
- ✖ Failed to publish schema
+ __NONE__
❯ tests/cli/schema.spec.ts:195:9
|
run integration tests:
integration-tests/tests/cli/schema.spec.ts#L106
Error: Snapshot `SINGLE > publishing invalid schema SDL provides meaningful feedback for the user. > schemaPublish 1` mismatched
- Expected
+ Received
:::::::::::::::: CLI FAILURE OUTPUT :::::::::::::::
exitCode------------------------------------------:
2
stderr--------------------------------------------:
- Error: The SDL is not valid at line 1, column 1:
+ › Error: The SDL is not valid at line 1, column 1:
- Syntax Error: Unexpected Name "iliketurtles".
+ › Syntax Error: Unexpected Name "iliketurtles". [301]
+ › > See https://__URL__ for
+ › a complete list of error codes and recommended fixes.
+ › To disable this message set HIVE_NO_ERROR_TIP=1
stdout--------------------------------------------:
- ✖ Failed to publish schema
+ __NONE__
❯ tests/cli/schema.spec.ts:106:9
|
run integration tests:
integration-tests/tests/cli/schema.spec.ts#L195
Error: Snapshot `SINGLE > schema:publish should see Invalid Token error when token is invalid > schemaPublish 1` mismatched
- Expected
+ Received
:::::::::::::::: CLI FAILURE OUTPUT :::::::::::::::
exitCode------------------------------------------:
2
stderr--------------------------------------------:
- › Error: Invalid token provided
- › Reference: __ID__
+ › Error: A valid registry token is required to perform the action. The
+ › registry token used does not exist or has been revoked. [106]
+ › > See https://__URL__ for
+ › a complete list of error codes and recommended fixes.
+ › To disable this message set HIVE_NO_ERROR_TIP=1
stdout--------------------------------------------:
- ✖ Failed to publish schema
+ __NONE__
❯ tests/cli/schema.spec.ts:195:9
|
run integration tests
Process completed with exit code 1.
|
Loading