Skip to content

Commit 511451a

Browse files
committed
don't raise an exception if stern isn't there, just fail quietly
1 parent 11fa489 commit 511451a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/control.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1044,7 +1044,7 @@ def logs():
10441044
cmd.append(args.service if args.service else '.*')
10451045

10461046
else:
1047-
raise Exception(
1047+
logging.error(
10481048
f'{sys._getframe().f_code.co_name} with orchestration mode {orchMode} requires "stern" (https://github.com/stern/stern/releases/latest)'
10491049
)
10501050

0 commit comments

Comments
 (0)