Skip to content

Commit

Permalink
update ioc_debug.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Defenso-QTH committed Sep 21, 2024
1 parent f66a412 commit 7cdfc53
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions iocage_lib/ioc_debug.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ def __execute_debug__(self, command, jail=None, jexec=False):
def __write_debug__(self, data, path, title, json=False, method='a+'):
title_sep = '-' * 10
print('path=', path)
raise Exception(path)

with open(f'{path}.txt', method) as f:
f.write(title)
Expand Down

0 comments on commit 7cdfc53

Please sign in to comment.