Including stack trace in error log