summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDane Springmeyer <springmeyer@users.noreply.github.com>2018-06-29 12:08:14 -0700
committerGitHub <noreply@github.com>2018-06-29 12:08:14 -0700
commit948db498b4a309a0c0fb3131ebd61cebe7bbe4c6 (patch)
tree9dc43f6575b52e57ec61dfc1d0c603fc3b50ebe1
parent789baf4c1f252071bf58e689e050b34eb2656363 (diff)
downloadqtlocation-mapboxgl-948db498b4a309a0c0fb3131ebd61cebe7bbe4c6.tar.gz
Change error message with invalid render usage
This change disambiguates this error condition with a different error with the same error message at https://github.com/mapbox/mapbox-gl-native/blob/789baf4c1f252071bf58e689e050b34eb2656363/src/mbgl/map/map.cpp#L157-L160
-rw-r--r--platform/node/src/node_map.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/node/src/node_map.cpp b/platform/node/src/node_map.cpp
index 4d89077d64..328bff1d7b 100644
--- a/platform/node/src/node_map.cpp
+++ b/platform/node/src/node_map.cpp
@@ -398,7 +398,7 @@ void NodeMap::Render(const Nan::FunctionCallbackInfo<v8::Value>& info) {
}
if (nodeMap->req) {
- return Nan::ThrowError("Map is currently rendering an image");
+ return Nan::ThrowError("Map is currently processing a RenderRequest");
}
try {