Skip to content

Commit

Permalink
Test with Trace.WriteLine
Browse files Browse the repository at this point in the history
  • Loading branch information
rolphes committed Dec 11, 2017
1 parent 02d753f commit 0c7c69f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Scs/Communication/Scs/Client/ScsClientBase.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using System;
using Hik.Communication.Scs.Communication;
using Hik.Communication.Scs.Communication.Messages;
using Hik.Communication.Scs.Communication.Channels;
using Hik.Communication.Scs.Communication.Messages;
using Hik.Communication.Scs.Communication.Protocols;
using Hik.Threading;

Expand Down Expand Up @@ -122,7 +122,7 @@ public DateTime LastSentMessageTime
private readonly Timer _pingTimer;

#endregion

#region Constructor

/// <summary>
Expand Down Expand Up @@ -265,9 +265,9 @@ private void PingTimer_Elapsed(object sender, EventArgs e)

_communicationChannel.SendMessage(new ScsPingMessage());
}
catch
catch (Exception exception)
{

System.Diagnostics.Trace.WriteLine($"PingTimer_Elapsed: {exception}");
}
}

Expand Down

0 comments on commit 0c7c69f

Please sign in to comment.