private static string GetMessage(AbstractFunction senderFunction, AbstractMailrelayReply reply, string targetUrl) { string parameters = senderFunction.ToGet(); string error = reply.error; return($"{senderFunction.GetType().Name}{Environment.NewLine} Url:{targetUrl}{Environment.NewLine} Parameters:{parameters}{Environment.NewLine} Error:{error}"); }
private static string GetMessage(AbstractFunction senderFunction, string targetUrl) { string parameters = senderFunction.ToGet(); return($"{senderFunction.GetType().Name}{Environment.NewLine} Url:{targetUrl}{Environment.NewLine} Parameters:{parameters}{Environment.NewLine}"); }