From de1e1ee6d0d1634fb64cdd45cc0fe3b97b40fc3a 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 --- oletools/olevba.py | 1 + 1 file changed, 1 insertion(+), 0 deletions(-) diff --git a/oletools/olevba.py b/oletools/olevba.py index f24c845..0559c30 100644 --- a/oletools/olevba.py +++ b/oletools/olevba.py @@ -4483,6 +4483,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() -- libgit2 0.21.4