Commit de1e1ee6d0d1634fb64cdd45cc0fe3b97b40fc3a
1 parent
6c1c5231
olevba: debug-log caught exception
Help debugging
Showing
1 changed file
with
1 additions
and
0 deletions
oletools/olevba.py
| @@ -4483,6 +4483,7 @@ def process_file(filename, data, container, options, crypto_nesting=0): | @@ -4483,6 +4483,7 @@ def process_file(filename, data, container, options, crypto_nesting=0): | ||
| 4483 | log.debug('no encryption detected') | 4483 | log.debug('no encryption detected') |
| 4484 | return RETURN_OK | 4484 | return RETURN_OK |
| 4485 | except Exception as exc: | 4485 | except Exception as exc: |
| 4486 | + log.debug('Caught exception:', exc_info=True) | ||
| 4486 | if vba_parser: | 4487 | if vba_parser: |
| 4487 | vba_parser.close() | 4488 | vba_parser.close() |
| 4488 | 4489 |