[KOE-176] Testing code

This commit is contained in:
Patrick Simpson 2018-09-26 11:30:33 +03:00
parent c8325300b1
commit 140611b461
2 changed files with 7 additions and 4 deletions

View File

@ -253,9 +253,9 @@ namespace Acacia.Stubs.OutlookWrappers
dwType = (uint)PropType.UNICODE, dwType = (uint)PropType.UNICODE,
lpszW = ptr lpszW = ptr
}; };
olk.SetProp(propTag, &val); //olk.SetProp(propTag, &val);
Logger.Instance.Trace(this, "SetAccountProp6: {0}: {1}", propTag, value); Logger.Instance.Trace(this, "SetAccountProp6: {0}: {1}", propTag, value);
olk.SaveChanges(0); //olk.SaveChanges(0);
Logger.Instance.Trace(this, "SetAccountProp7: {0}: {1}", propTag, value); Logger.Instance.Trace(this, "SetAccountProp7: {0}: {1}", propTag, value);
} }
break; break;
@ -267,9 +267,9 @@ namespace Acacia.Stubs.OutlookWrappers
dwType = (uint)PropType.LONG, dwType = (uint)PropType.LONG,
dw = (uint)value dw = (uint)value
}; };
olk.SetProp(propTag, &val); //olk.SetProp(propTag, &val);
Logger.Instance.Trace(this, "SetAccountProp9: {0}: {1}", propTag, value); Logger.Instance.Trace(this, "SetAccountProp9: {0}: {1}", propTag, value);
olk.SaveChanges(0); //olk.SaveChanges(0);
Logger.Instance.Trace(this, "SetAccountPropA: {0}: {1}", propTag, value); Logger.Instance.Trace(this, "SetAccountPropA: {0}: {1}", propTag, value);
break; break;
} }

View File

@ -119,7 +119,10 @@ namespace Acacia.Stubs.OutlookWrappers
}, null); }, null);
if (x != null) if (x != null)
{
Logger.Instance.Trace(this, "Rethrowing exception from UI send: {0}", x);
throw x; throw x;
}
} }
else else
{ {