[ios, macos] Streamlined a string format
This commit is contained in:
committed by
Minh Nguyễn
parent
ef71597932
commit
d34356ce39
@@ -19,7 +19,7 @@
|
||||
} catch (std::runtime_error &err) {
|
||||
if (outError) {
|
||||
*outError = [NSError errorWithDomain:MGLErrorDomain code:MGLErrorCodeUnknown userInfo:@{
|
||||
NSLocalizedFailureReasonErrorKey: [NSString stringWithFormat:@"%s", err.what()],
|
||||
NSLocalizedFailureReasonErrorKey: @(err.what()),
|
||||
}];
|
||||
}
|
||||
return nil;
|
||||
|
||||
Reference in New Issue
Block a user