aboutsummaryrefslogtreecommitdiff
path: root/Mono.Nat
diff options
context:
space:
mode:
Diffstat (limited to 'Mono.Nat')
-rw-r--r--Mono.Nat/Pmp/PmpNatDevice.cs2
-rw-r--r--Mono.Nat/Upnp/Searchers/UpnpSearcher.cs2
2 files changed, 2 insertions, 2 deletions
diff --git a/Mono.Nat/Pmp/PmpNatDevice.cs b/Mono.Nat/Pmp/PmpNatDevice.cs
index 99d030207..fbf3032d4 100644
--- a/Mono.Nat/Pmp/PmpNatDevice.cs
+++ b/Mono.Nat/Pmp/PmpNatDevice.cs
@@ -198,7 +198,7 @@ namespace Mono.Nat.Pmp
}
catch (Exception ex)
{
- _logger.LogError("Error in CreatePortMapListen", ex);
+ _logger.LogError(ex, "Error in CreatePortMapListen");
return;
}
}
diff --git a/Mono.Nat/Upnp/Searchers/UpnpSearcher.cs b/Mono.Nat/Upnp/Searchers/UpnpSearcher.cs
index e9e47a91e..bcf358d1c 100644
--- a/Mono.Nat/Upnp/Searchers/UpnpSearcher.cs
+++ b/Mono.Nat/Upnp/Searchers/UpnpSearcher.cs
@@ -90,7 +90,7 @@ namespace Mono.Nat
}
catch (Exception ex)
{
- _logger.LogError("Error decoding device response", ex);
+ _logger.LogError(ex, "Error decoding device response");
}
}