@@ -90,7 +90,7 @@ public IEnumerable<IProtoUrlConfig> Run()
9090 }
9191 catch ( Exception ex )
9292 {
93- logger . Exception ( "Exception in IsCacheUpToDate" , ex ) ;
93+ logger . Exception ( ex , "Exception in IsCacheUpToDate" ) ;
9494 }
9595
9696 IEnumerable < IProtoUrlConfig > databaseConfigs = null ;
@@ -190,7 +190,7 @@ public IEnumerable<IProtoUrlConfig> Run()
190190 }
191191 catch ( Exception e )
192192 {
193- patchLogger . Exception ( "Exception while deleting stale cache " , e ) ;
193+ patchLogger . Exception ( e , "Exception while deleting stale cache " ) ;
194194 }
195195 }
196196 else
@@ -498,7 +498,7 @@ private void CreateCache(IEnumerable<IProtoUrlConfig> databaseConfigs, int patch
498498 }
499499 catch ( Exception e )
500500 {
501- logger . Exception ( "Exception while saving the sha" , e ) ;
501+ logger . Exception ( e , "Exception while saving the sha" ) ;
502502 }
503503 try
504504 {
@@ -507,11 +507,11 @@ private void CreateCache(IEnumerable<IProtoUrlConfig> databaseConfigs, int patch
507507 }
508508 catch ( NullReferenceException e )
509509 {
510- logger . Exception ( "NullReferenceException while saving the cache" , e ) ;
510+ logger . Exception ( e , "NullReferenceException while saving the cache" ) ;
511511 }
512512 catch ( Exception e )
513513 {
514- logger . Exception ( "Exception while saving the cache" , e ) ;
514+ logger . Exception ( e , "Exception while saving the cache" ) ;
515515 }
516516
517517 try
@@ -522,7 +522,7 @@ private void CreateCache(IEnumerable<IProtoUrlConfig> databaseConfigs, int patch
522522 }
523523 catch ( Exception e )
524524 {
525- logger . Exception ( "Exception while deleting the cache" , e ) ;
525+ logger . Exception ( e , "Exception while deleting the cache" ) ;
526526 }
527527 }
528528
0 commit comments