4.6 How to see more context where the erorr generated came from?

Add \errorcontextlines=200 in preamble, that will display more lines around where the error shows. (thanks to Ulrike Fischer)