Skip to content

Commit 105709c

Browse files
oxidasePatrick Niklaus
authored andcommitted
Don't handle response errors separately in osrm-runner
1 parent 9695fa7 commit 105709c

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

scripts/osrm-runner.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@ const run_query = (query_options, filters, callback) => {
1616
let tic = () => 0.;
1717
http.request(query_options, function (res) {
1818
let body = '', ttfb = tic();
19-
if (res.statusCode != 200)
20-
return callback(query_options.path, res.statusCode, ttfb);
2119

2220
res.setEncoding('utf8');
2321
res.on('data', function (chunk) {

0 commit comments

Comments
 (0)