@@ -70,7 +70,7 @@ - (nullable instancetype)initWithRuntime:(id<AEPExtensionRuntime> _Nonnull)runti
7070}
7171
7272- (void )onRegistered {
73- [[BranchLogger shared ] logDebug: @" AdobeBranchExtension listener registered" ];
73+ [[BranchLogger shared ] logDebug: @" AdobeBranchExtension listener registered" error: nil ];
7474
7575 [self deviceDataSharedState: NULL ];
7676
@@ -138,7 +138,7 @@ + (BOOL)configureEventExclusionList:(nullable NSArray<NSString *> *)eventNames e
138138 // If already configured allowList
139139 if ([AdobeBranchExtensionConfig instance ].allowList .count != 0 ) {
140140 *configError = [NSError errorWithDomain: AdobeBranchExtensionErrorDomain code: ABEBranchConflictConfiguration userInfo: @{NSLocalizedFailureReasonErrorKey : @" Already configured allowList for AdobeBranchExtensionConfig" }];
141- [[BranchLogger shared ] logWarning: [NSString stringWithFormat: @" AdobeBranchExtensionConfig error: %@ ." , *configError]];
141+ [[BranchLogger shared ] logWarning: [NSString stringWithFormat: @" AdobeBranchExtensionConfig error: %@ ." , *configError] error: *configError ];
142142 return NO ;
143143 } else {
144144 [AdobeBranchExtensionConfig instance ].exclusionList = eventNames;
@@ -152,7 +152,7 @@ + (BOOL)configureEventAllowList:(nullable NSArray<NSString *> *)eventNames error
152152 // If already configured allowList
153153 if ([AdobeBranchExtensionConfig instance ].exclusionList .count != 0 ) {
154154 *configError = [NSError errorWithDomain: AdobeBranchExtensionErrorDomain code: ABEBranchConflictConfiguration userInfo: @{NSLocalizedFailureReasonErrorKey : @" Already configured exclusionList for AdobeBranchExtensionConfig" }];
155- [[BranchLogger shared ] logWarning: [NSString stringWithFormat: @" AdobeBranchExtensionConfig error: %@ ." , *configError]];
155+ [[BranchLogger shared ] logWarning: [NSString stringWithFormat: @" AdobeBranchExtensionConfig error: %@ ." , *configError] error: *configError ];
156156 return NO ;
157157 } else {
158158 [AdobeBranchExtensionConfig instance ].allowList = eventNames;
@@ -164,7 +164,7 @@ + (BOOL)configureEventAllowList:(nullable NSArray<NSString *> *)eventNames error
164164#pragma mark - Action Events
165165
166166- (void )handleEvent : (AEPEvent*)event {
167- [[BranchLogger shared ] logDebug: [NSString stringWithFormat: @" Handling Event: %@ " , event]];
167+ [[BranchLogger shared ] logDebug: [NSString stringWithFormat: @" Handling Event: %@ " , event] error: nil ];
168168
169169 if ([[AdobeBranchExtensionConfig instance ].eventTypes containsObject: event.type] &&
170170 [[AdobeBranchExtensionConfig instance ].eventSources containsObject: event.source]) {
@@ -333,11 +333,11 @@ - (void) passAdobeIdsToBranch:(AEPEvent*)eventToProcess {
333333 AEPSharedStateResult *configSharedState = [self .runtime getSharedStateWithExtensionName: eventToProcess.data[ABEAdobeEventDataKey_StateOwner] event: eventToProcess barrier: NO ];
334334
335335 if (!configSharedState.value ) {
336- [[BranchLogger shared ] logWarning: @" BranchSDK_ Could not process event, configuration shared state is pending" ];
336+ [[BranchLogger shared ] logWarning: @" BranchSDK_ Could not process event, configuration shared state is pending" error: nil ];
337337 return ;
338338 }
339339 if (error) {
340- [[BranchLogger shared ] logWarning: @" BranchSDK_ Could not process event, an error occured while retrieving configuration shared state" ];
340+ [[BranchLogger shared ] logWarning: @" BranchSDK_ Could not process event, an error occured while retrieving configuration shared state" error: nil ];
341341 return ;
342342 }
343343
0 commit comments