When we print errors to file, we print the first five layers of the error stack instead of only the first one.