Skip to content

Commit

Permalink
olevba: debug-log caught exception
Browse files Browse the repository at this point in the history
Help debugging
  • Loading branch information
christian-intra2net committed Oct 14, 2019
1 parent 9001304 commit 81f2569
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions oletools/olevba.py
Original file line number Diff line number Diff line change
Expand Up @@ -4024,6 +4024,7 @@ def process_file(filename, data, container, options, crypto_nesting=0):
log.debug('no encryption detected')
return RETURN_OK
except Exception as exc:
log.debug('Caught exception:', exc_info=True)
if vba_parser:
vba_parser.close()

Expand Down

0 comments on commit 81f2569

Please sign in to comment.