The Free Software Media System - Server Backend & API
Log exception where possible
Bond_009cb8cd1ff55d8
diff --git a/Emby.IsoMounting/IsoMounter/LinuxIsoManager.cs b/Emby.IsoMounting/IsoMounter/LinuxIsoManager.csindex 4716c64b20..620d3bae9e 100644--- a/Emby.IsoMounting/IsoMounter/LinuxIsoManager.cs+++ b/Emby.IsoMounting/IsoMounter/LinuxIsoManager.cs@@ -146,14 +146,10 @@ namespace IsoMounterpublic Task<IIsoMount> Mount(string isoPath, CancellationToken cancellationToken){- LinuxMount mountedISO;-- if (MountISO(isoPath, out mountedISO))- {+ if (MountISO(isoPath, out LinuxMount mountedISO)) {return Task.FromResult<IIsoMount>(mountedISO);}- else- {+ else {throw new IOException(String.Format("An error occurred trying to mount image [$0].",isoPathdiff --git a/RSSDP/SsdpDevicePublisher.cs b/RSSDP/SsdpDevicePublisher.csindex 2646023e89..cee9b7f911 100644--- a/RSSDP/SsdpDevicePublisher.cs+++ b/RSSDP/SsdpDevicePublisher.cs@@ -310,11 +310,16 @@ namespace Rssdp.Infrastructuretry{- await _CommsServer.SendMessage(System.Text.Encoding.UTF8.GetBytes(message), endPoint, receivedOnlocalIpAddress, cancellationToken).ConfigureAwait(false);+ await _CommsServer.SendMessage(+ System.Text.Encoding.UTF8.GetBytes(message),+ endPoint,+ receivedOnlocalIpAddress,+ cancellationToken)+ .ConfigureAwait(false);}catch (Exception){-+}//WriteTrace(String.Format("Sent search response to " + endPoint.ToString()), device);