Catch all parser errors, and print stack trace