Mercurial > pub > ImplabNet
comparison Implab/Diagnostics/Extensions.cs @ 140:f973c5df9972 v2
fixes
author | cin |
---|---|
date | Fri, 20 Feb 2015 15:58:34 +0300 |
parents | f75cfa58e3d4 |
children |
comparison
equal
deleted
inserted
replaced
139:041b77711262 | 140:f973c5df9972 |
---|---|
17 TraceLog.EndLogicalOperation(); | 17 TraceLog.EndLogicalOperation(); |
18 TraceContext.Instance.Leave(); | 18 TraceContext.Instance.Leave(); |
19 }, | 19 }, |
20 reason => { | 20 reason => { |
21 TraceContext.Instance.EnterLogicalOperation(op,true); | 21 TraceContext.Instance.EnterLogicalOperation(op,true); |
22 TraceLog.TraceInformation("promise cancelled {0}", reason.Message); | 22 TraceLog.TraceInformation("promise cancelled {0}", reason == null ? "<no-reason>" : reason.Message); |
23 TraceLog.EndLogicalOperation(); | 23 TraceLog.EndLogicalOperation(); |
24 TraceContext.Instance.Leave(); | 24 TraceContext.Instance.Leave(); |
25 } | 25 } |
26 ); | 26 ); |
27 } | 27 } |