From 81f2569d45e0b5c97cb0197ef22db4a6517e14e1 Mon Sep 17 00:00:00 2001 From: Christian Herdtweck Date: Mon, 27 May 2019 16:17:30 +0200 Subject: [PATCH] olevba: debug-log caught exception Help debugging --- oletools/olevba.py | 1 + 1 file changed, 1 insertion(+) diff --git a/oletools/olevba.py b/oletools/olevba.py index f194bd27..416d8914 100644 --- a/oletools/olevba.py +++ b/oletools/olevba.py @@ -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()