Fixed issue with logs in feedback message.
[FIXED] Including logs in the feedback message caused failure to parse attachments.
This commit is contained in:
parent
6f2bc83806
commit
52b8033c37
@ -520,13 +520,13 @@
|
|||||||
[PearlInfoPlist get].CFBundleShortVersionString,
|
[PearlInfoPlist get].CFBundleShortVersionString,
|
||||||
[PearlInfoPlist get].CFBundleVersion)
|
[PearlInfoPlist get].CFBundleVersion)
|
||||||
|
|
||||||
attachments:logs
|
attachments:(logs
|
||||||
? [[PearlEMailAttachment alloc] initWithContent:[[[PearlLogger get] formatMessagesWithLevel:logLevel] dataUsingEncoding:NSUTF8StringEncoding]
|
? [[PearlEMailAttachment alloc] initWithContent:[[[PearlLogger get] formatMessagesWithLevel:logLevel] dataUsingEncoding:NSUTF8StringEncoding]
|
||||||
mimeType:@"text/plain"
|
mimeType:@"text/plain"
|
||||||
fileName:PearlString(@"%@-%@.log",
|
fileName:PearlString(@"%@-%@.log",
|
||||||
[[NSDateFormatter rfc3339DateFormatter] stringFromDate:[NSDate date]],
|
[[NSDateFormatter rfc3339DateFormatter] stringFromDate:[NSDate date]],
|
||||||
[PearlKeyChain deviceIdentifier])]
|
[PearlKeyChain deviceIdentifier])]
|
||||||
: nil, nil]
|
: nil), nil]
|
||||||
showComposerForVC:viewController];
|
showComposerForVC:viewController];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user