summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--platform/darwin/src/MGLMapSnapshotter.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/darwin/src/MGLMapSnapshotter.mm b/platform/darwin/src/MGLMapSnapshotter.mm
index 5901f36e5d..12b932daa3 100644
--- a/platform/darwin/src/MGLMapSnapshotter.mm
+++ b/platform/darwin/src/MGLMapSnapshotter.mm
@@ -110,7 +110,7 @@ const CGFloat MGLSnapshotterMinimumPixelSize = 64;
- (void)startWithQueue:(dispatch_queue_t)queue completionHandler:(MGLMapSnapshotCompletionHandler)completion;
{
if ([self isLoading]) {
- [NSException raise:@"MGLAlreadyStartedSnapshotterException"
+ [NSException raise:NSInternalInconsistencyException
format:@"Already started this snapshotter."];
}