+1 on using `exc_info` instead