Skip to content

Commit

Permalink
use Debug class to log exceptions
Browse files Browse the repository at this point in the history
Signed-off-by: Florian Bacher <[email protected]>
  • Loading branch information
bacherfl committed Jan 9, 2024
1 parent 317c2db commit 4f1cec8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/OpenFeature/EventExecutor.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Threading;
using System.Threading.Channels;
using System.Threading.Tasks;
Expand Down Expand Up @@ -214,7 +215,7 @@ private void EmitOnRegistration(FeatureProviderReference provider, ProviderEvent
}
catch (Exception exc)
{
Console.WriteLine(exc);
Debug.WriteLine(exc);
}
}
}
Expand Down Expand Up @@ -319,7 +320,7 @@ private void InvokeEventHandler(EventHandlerDelegate eventHandler, Event e)
}
catch (Exception exc)
{
Console.WriteLine(exc);
Debug.WriteLine(exc);
}
}

Expand Down

0 comments on commit 4f1cec8

Please sign in to comment.