diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/nodejs/main.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nodejs/main.js b/src/nodejs/main.js index 17a5235..e4002d7 100644 --- a/src/nodejs/main.js +++ b/src/nodejs/main.js @@ -78,8 +78,8 @@ function nodeBboxHandler(req, res, key, value, left, bottom, right, top) { var query = client.query(createNodeBboxQuery(key, value, left, bottom, right, top)); query.on('error', function(err) { - log.error(err); - res.writeHead(404,{}); + log.error(err.message); + res.writeHead(503,{}); res.end('\n'); }); |