logging for set-cookie

This commit is contained in:
Kyle Matthew Hedden 2020-10-30 14:13:01 -04:00
parent 11d7fcb4d7
commit e32299bee4

View File

@ -333,6 +333,8 @@
[trackInfo setObject:error.localizedDescription forKey:@"error"]; [trackInfo setObject:error.localizedDescription forKey:@"error"];
} }
MVMCoreLog(@"Set-Cookie %@ Value: %@", requestParameters.pageType, [(NSHTTPURLResponse *)response allHeaderFields][@"Set-Cookie"]);
[MVMCoreLoggingHandler logWithDelegateWithObject:nil withName:@"httpRequestStatus" withExtraInfo:trackInfo]; [MVMCoreLoggingHandler logWithDelegateWithObject:nil withName:@"httpRequestStatus" withExtraInfo:trackInfo];
id jsonObject = nil; id jsonObject = nil;