Added loging option when the Restclient has no parameter
Signed-off-by: George Pantazis <gpant@noc.grnet.gr>
});
- var message = String.Format(@"{0}<LineBreak/>{1}<LineBreak/><LineBreak/>{2}",
+ var message = String.Format(@"{0}" + Environment.NewLine + "{1}" + Environment.NewLine + "{2}",
WPF.Properties.Resources.Unexpected_Error,
WPF.Properties.Resources.We_Apologize,
WPF.Properties.Resources.Please_Submit_Error);
: base()
{
if (other==null)
- throw new ArgumentNullException("other");
+ Log.ErrorFormat("[ERROR] No parameters provided to the rest client. \n{0}\n", other);
+ //throw new ArgumentNullException("other");
Contract.EndContractBlock();
//The maximum error response must be large because missing server hashes are return as a Conflivt (409) error response