Merge branch 'bugfix/debug_var' into 'develop'
shift var outside debug block See merge request BPHV_MIPS/mvm_core!101
This commit is contained in:
commit
6879126929
@ -248,9 +248,10 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
NSError *jsonError = nil;
|
NSError *jsonError = nil;
|
||||||
|
NSData *data = nil;
|
||||||
#if DEBUG
|
#if DEBUG
|
||||||
// Pretty print for logging the request parameters.
|
// Pretty print for logging the request parameters.
|
||||||
NSData *data = [NSJSONSerialization dataWithJSONObject:parameters options:NSJSONWritingPrettyPrinted error:&jsonError];
|
data = [NSJSONSerialization dataWithJSONObject:parameters options:NSJSONWritingPrettyPrinted error:&jsonError];
|
||||||
if (!data) {
|
if (!data) {
|
||||||
if (error) {
|
if (error) {
|
||||||
*error = [[MVMCoreErrorObject alloc] initWithTitle:nil message:[MVMCoreGetterUtility hardcodedStringWithKey:HardcodedErrorUnableToProcess] messageToLog:jsonError.localizedDescription code:jsonError.code domain:ErrorDomainSystem location:[NSString stringWithFormat:@"requestWithParameters:pageType_%@:parameters_%@",requestParameters.pageType,parameters.description]];
|
*error = [[MVMCoreErrorObject alloc] initWithTitle:nil message:[MVMCoreGetterUtility hardcodedStringWithKey:HardcodedErrorUnableToProcess] messageToLog:jsonError.localizedDescription code:jsonError.code domain:ErrorDomainSystem location:[NSString stringWithFormat:@"requestWithParameters:pageType_%@:parameters_%@",requestParameters.pageType,parameters.description]];
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user