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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user