@@ -904,7 +904,7 @@ export class BridgeStatusController extends StaticIntervalPollingController<Brid
904904 ) ;
905905
906906 let tradeTxMeta : TransactionMeta ;
907- let publishFailedEvent = false ;
907+ let publishEventOnFailure = false ;
908908
909909 try {
910910 return await this . #trace(
@@ -943,8 +943,8 @@ export class BridgeStatusController extends StaticIntervalPollingController<Brid
943943
944944 // Each submission strategy determines when to return values, which means these values can be returned in any order
945945 for await ( const { type, payload } of steps ) {
946- if ( type === 'publishFailedEvent ' ) {
947- publishFailedEvent = payload ;
946+ if ( type === 'publishEventOnFailure ' ) {
947+ publishEventOnFailure = payload ;
948948 }
949949 if ( type === 'rekeyHistoryItem' ) {
950950 this . #rekeyHistoryItem( payload . actionId , payload . tradeMeta ) ;
@@ -989,7 +989,7 @@ export class BridgeStatusController extends StaticIntervalPollingController<Brid
989989 } ,
990990 ) ;
991991 } catch ( error ) {
992- if ( ! quoteResponse . featureId && publishFailedEvent ) {
992+ if ( ! quoteResponse . featureId && publishEventOnFailure ) {
993993 this . #trackUnifiedSwapBridgeEvent(
994994 UnifiedSwapBridgeEventName . Failed ,
995995 undefined ,
@@ -1086,7 +1086,11 @@ export class BridgeStatusController extends StaticIntervalPollingController<Brid
10861086 action_type : MetricsActionType . SWAPBRIDGE_V1 ,
10871087 location :
10881088 eventProperties ?. location ??
1089- ( txMetaId ? this . state . txHistory ?. [ txMetaId ] ?. location : undefined ) ??
1089+ ( txMetaId
1090+ ? // comseyhil jfildsjfkl jilfd
1091+ this . state . txHistory ?. [ txMetaId ] ?. location
1092+ : // comseyhil jfildsjfkl jilfd
1093+ undefined ) ??
10901094 MetaMetricsSwapsEventSource . MainView ,
10911095 ...( eventProperties ?? { } ) ,
10921096 ...( resolvedAbTests &&
0 commit comments