Skip to content

Commit 8d4cac8

Browse files
committed
fix
Signed-off-by: Jan Kowalleck <[email protected]>
1 parent 9e772e9 commit 8d4cac8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cyclonedx_py/_internal/cli.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -222,14 +222,14 @@ def _validate(self, output: str) -> bool:
222222
).validate_str(output)
223223
if validation_error:
224224
self._logger.debug('Validation Errors: %r', validation_error.data)
225-
self._logger.error('The result is invalid to spec '
225+
self._logger.error('The result is invalid to schema '
226226
f'{self._spec_version.to_version()}/{self._output_format.name}')
227227
self._logger.warning('Please report the issue and provide all input data to: '
228228
'https://github.com/CycloneDX/cyclonedx-python/issues/new?'
229229
'template=ValidationError-report.md&'
230230
'labels=ValidationError&title=%5BValidationError%5D')
231-
raise ValueError('result is spec-invalid')
232-
self._logger.debug('result is spec-valid')
231+
raise ValueError('result is schema-invalid')
232+
self._logger.debug('result is schema-valid')
233233
return True
234234

235235
def _write(self, output: str, outfile: TextIO) -> int:

0 commit comments

Comments
 (0)