Print an error stack trace so the actual contents are not lost