File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -141,7 +141,7 @@ public CoveragePrepareResult PrepareModules()
141141 }
142142 catch ( Exception ex )
143143 {
144- _logger . LogWarning ( $ "Unable to instrument module: { module } because : { ex . Message } ") ;
144+ _logger . LogWarning ( $ "Unable to instrument module: { module } \n { ex } ") ;
145145 _instrumentationHelper . RestoreOriginalModule ( module , _identifier ) ;
146146 }
147147 }
Original file line number Diff line number Diff line change @@ -123,7 +123,7 @@ public bool CanInstrument()
123123 }
124124 catch ( Exception ex )
125125 {
126- _logger . LogWarning ( $ "Unable to instrument module: '{ _module } ' because : { ex . Message } ") ;
126+ _logger . LogWarning ( $ "Unable to instrument module: '{ _module } '\n { ex } ") ;
127127 return false ;
128128 }
129129 }
You can’t perform that action at this time.
0 commit comments