fixes #221 (closed) This branch introduces techniques which allow to log exceptions and collect them afterwards