Add some code to try to capture log files when an exception occurs.
Merge pull request #8 from demandchain/EL-add-log-capture

Add some code to try to capture log files when an exception occurs.