parse exceptions in all errors, not just last line