Enhance error handling in TradingService by capturing exceptions with Sentry; update TypeScript version in package.json for improved features; modify tsconfig.json to exclude unnecessary directories; add new performance benchmark entries in CSV files for better tracking of telemetry data.

This commit is contained in:
2025-12-20 15:53:16 +07:00
parent e9b4878ffa
commit 4fda65e3c2
5 changed files with 13 additions and 3 deletions

View File

@@ -487,6 +487,7 @@ public class TradingService : ITradingService
{
_logger.LogError(ex, "Error swapping GMX tokens for account {AccountName} and user {UserName}",
accountName, user.Name);
SentrySdk.CaptureException(ex);
throw new InvalidOperationException($"Failed to swap GMX tokens: {ex.Message}", ex);
}
}