private static string FormatException(Exception e) { string errorString = e.Message + "\n" + ExceptionUtils.GetExceptionStack(e); return(errorString.Replace("\n", "\n\t")); }