diff --git a/AsbCloudInfrastructure/Services/BackgroundWorkerService.cs b/AsbCloudInfrastructure/Services/BackgroundWorkerService.cs index 8e3a4bab..14a8e253 100644 --- a/AsbCloudInfrastructure/Services/BackgroundWorkerService.cs +++ b/AsbCloudInfrastructure/Services/BackgroundWorkerService.cs @@ -1,5 +1,7 @@ using AsbCloudApp.Services; using Microsoft.Extensions.Hosting; +using System; +using System.Diagnostics; using System.Threading; using System.Threading.Tasks; @@ -25,9 +27,10 @@ namespace AsbCloudInfrastructure.Services else await Task.Delay(100, token).ConfigureAwait(false); } - catch + catch(Exception ex) { - //logger ? + Trace.TraceError(ex.Message); + Console.WriteLine(ex.Message); } } }