diff --git a/src/commonMain/kotlin/exchange.dydx.abacus/state/manager/V4StateManagerAdaptor.kt b/src/commonMain/kotlin/exchange.dydx.abacus/state/manager/V4StateManagerAdaptor.kt index 4007e8014..45e577b2d 100644 --- a/src/commonMain/kotlin/exchange.dydx.abacus/state/manager/V4StateManagerAdaptor.kt +++ b/src/commonMain/kotlin/exchange.dydx.abacus/state/manager/V4StateManagerAdaptor.kt @@ -1448,10 +1448,11 @@ class V4StateManagerAdaptor( ) } - private fun errorTrackingParams(error: ParsingError): IMap { + private fun errorTrackingParams(error: ParsingError): IMap { return iMapOf( "errorType" to error.type.rawValue, "errorMessage" to error.message, + "errorStringKey" to error.stringKey, ) } diff --git a/src/commonMain/kotlin/exchange.dydx.abacus/state/v2/supervisor/SubaccountSupervisor.kt b/src/commonMain/kotlin/exchange.dydx.abacus/state/v2/supervisor/SubaccountSupervisor.kt index 668e6a2e0..5eb9e1d3d 100644 --- a/src/commonMain/kotlin/exchange.dydx.abacus/state/v2/supervisor/SubaccountSupervisor.kt +++ b/src/commonMain/kotlin/exchange.dydx.abacus/state/v2/supervisor/SubaccountSupervisor.kt @@ -370,10 +370,11 @@ internal class SubaccountSupervisor( ) } - private fun errorTrackingParams(error: ParsingError): IMap { + private fun errorTrackingParams(error: ParsingError): IMap { return iMapOf( "errorType" to error.type.rawValue, "errorMessage" to error.message, + "errorStringKey" to error.stringKey, ) }