Skip to content

Commit

Permalink
better showing the crash reasons with sepa
Browse files Browse the repository at this point in the history
  • Loading branch information
chmouel committed Dec 14, 2023
1 parent cb47bd6 commit d6edfc5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions kss
Expand Up @@ -85,13 +85,17 @@ def overcnt(jeez, kctl, pod, args):
if args.showlog:
if errmsg:
print()
print(colourText("Crash message for %s:" % (cname), "cyan"))
print(errmsg)
print(colourText(("-" * 80), "magenta"))
print()
else:
outputlog = show_log(kctl, args, container["name"], pod)
if outputlog:
print()
print(colourText("Logs for %s:" % (cname), "cyan"))
print(outputlog)
print(colourText(("-" * 80), "magenta"))
print()


Expand Down

0 comments on commit d6edfc5

Please sign in to comment.