2017-11-21T18:52:14.192Z 15d68269-ceed-11e7-9d2c-afc530895a1c Unhandled rejection Error: method not written yet
at Function.S2.exp (/var/task/node_modules/nodes2ts/dist/S2.js:51:15)
at S2Metric.getMaxLevel (/var/task/node_modules/nodes2ts/dist/S2Metric.js:67:32)
at S2RegionCoverer.getInitialCandidates (/var/task/node_modules/nodes2ts/dist/S2RegionCoverer.js:321:87)
at S2RegionCoverer.getCoveringInternal (/var/task/node_modules/nodes2ts/dist/S2RegionCoverer.js:366:14)
at S2RegionCoverer.getCoveringUnion (/var/task/node_modules/nodes2ts/dist/S2RegionCoverer.js:181:14)
at S2RegionCoverer.getCoveringCells (/var/task/node_modules/nodes2ts/dist/S2RegionCoverer.js:156:24)
at GeoDataManager.queryRadius (/var/task/node_modules/dynamodb-geo/dist/GeoDataManager.js:205:82)
at Object.queryRadius (/var/task/dist/lib/storage/dynamodb/geo.js:65:20)
at Object.queryRadius [as radius] (/var/task/dist/readmodels/geocoded.js:62:34)
at query (/var/task/dist/readmodels/geocoded.js:76:53)
at /var/task/dist/readmodels/geocoded.js:91:31
at next (native)
at step (/var/task/dist/readmodels/geocoded.js:3:191)
at /var/task/dist/readmodels/geocoded.js:3:437
at Promise._execute (/var/task/node_modules/bluebird/js/release/debuggability.js:303:9)
at Promise._resolveFromExecutor (/var/task/node_modules/bluebird/js/release/promise.js:483:18)
I had a look at the function in question, but I can't tell why it reaches the point where this exception is thrown. It is also unclear to me why this happens with the parameters in question, or whether it depends on the data in my database? Any ideas?
I'm calling queryRadius like this:
And I'm seeing this exception:
I had a look at the function in question, but I can't tell why it reaches the point where this exception is thrown. It is also unclear to me why this happens with the parameters in question, or whether it depends on the data in my database? Any ideas?