Skip to content

Commit 28e9ea4

Browse files
authored
update command timeout error message (#71)
1 parent 9b4470e commit 28e9ea4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli/code_scanner.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -774,7 +774,7 @@ def _handle_exception(context: click.Context, e: Exception):
774774
fg='red', nl=False)
775775
context.obj["soft_fail"] = True
776776
elif isinstance(e, TimeoutError):
777-
click.secho('Command timed out', fg='red', nl=False)
777+
click.secho('Cycode was unable to complete this scan due to command timeout', fg='red', nl=False)
778778
context.obj["soft_fail"] = True
779779
elif isinstance(e, HttpUnauthorizedError):
780780
click.secho('Unable to authenticate to Cycode, your token is either invalid or has expired. '

0 commit comments

Comments
 (0)