public void Dump(DumpData data) { try { DumpResultObject(ResultObject.Create(data.Object, data.Quotas, data.Header)); } catch (Exception ex) { try { Console.WriteLine("Error during Dump: " + ex.Message); } catch { // ignore } } }
public void Dump(DumpData data) { if (!CanDump()) { return; } try { DumpResultObject(ResultObject.Create(data.Object, data.Quotas, data.Header)); } catch (Exception ex) { try { DumpMessage("Error during Dump: " + ex.Message); } catch { // ignore } } }