Skip to content

Commit f8cae72

Browse files
committed
NuGet v1.0.4, bugfix for Mono
1 parent 707babc commit f8cae72

31 files changed

Lines changed: 46 additions & 5 deletions

.vs/SyslogLogging/v14/.suo

0 Bytes
Binary file not shown.

LoggingModule/LoggingModule.cs

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,15 @@ private void SendToSyslog(string msg)
248248

249249
lock (SendLock)
250250
{
251-
UDP.Send(data, data.Length);
251+
try
252+
{
253+
UDP.Send(data, data.Length);
254+
}
255+
catch (Exception e)
256+
{
257+
Console.WriteLine("Exception while sending to syslog server " + SyslogServerIp + ":" + SyslogServerPort + ", disabling: " + e.Message);
258+
UDP = null;
259+
}
252260
}
253261
}
254262
}

LoggingModule/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,5 @@
3232
// You can specify all the values or you can default the Build and Revision Numbers
3333
// by using the '*' as shown below:
3434
// [assembly: AssemblyVersion("1.0.*")]
35-
[assembly: AssemblyVersion("1.0.3.0")]
36-
[assembly: AssemblyFileVersion("1.0.3.0")]
35+
[assembly: AssemblyVersion("1.0.4.0")]
36+
[assembly: AssemblyFileVersion("1.0.4.0")]
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)