Add error receiver for debugging.
parent
06f4fb70d4
commit
bf501d9e12
|
@ -238,7 +238,9 @@ NSMutableDictionary * dictionaryWithPropertiesOfObject(id obj, NSArray * filterL
|
|||
|
||||
NSDictionary * dictionary = [NSDictionary dictionaryWithObjectsAndKeys:albumArtSet, @"albumArt", queueList, @"queue", topLevel, @"items", nil];
|
||||
|
||||
NSData * data = [NSPropertyListSerialization dataWithPropertyList:dictionary format:NSPropertyListXMLFormat_v1_0 options:0 error:0];
|
||||
NSError * err;
|
||||
|
||||
NSData * data = [NSPropertyListSerialization dataWithPropertyList:dictionary format:NSPropertyListXMLFormat_v1_0 options:0 error:&err];
|
||||
|
||||
[fileHandle writeData:data];
|
||||
|
||||
|
|
Loading…
Reference in New Issue