From 934a0a26c10ddb55cdb5af466d3798c3f9acb150 Mon Sep 17 00:00:00 2001 From: cryptooda Date: Sun, 27 Apr 2025 13:10:27 +0700 Subject: [PATCH] Add sentry logs for workers --- src/Managing.Application.Workers/PricesService.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Managing.Application.Workers/PricesService.cs b/src/Managing.Application.Workers/PricesService.cs index abc5216..03cdff6 100644 --- a/src/Managing.Application.Workers/PricesService.cs +++ b/src/Managing.Application.Workers/PricesService.cs @@ -57,6 +57,7 @@ public class PricesService : IPricesService } catch (Exception ex) { + SentrySdk.CaptureException(ex); _logger.LogError($"[{exchange}][{ticker}][{timeframe}] Error : {ex.Message} | {ex.StackTrace}"); } }