wip
This commit is contained in:
parent
d54a1f2468
commit
6d49ab818f
@ -52,11 +52,6 @@ class OSRMTasks(TaskSet):
|
|||||||
# it is expected that some of requests will fail with such error: map matching fails sometimes
|
# it is expected that some of requests will fail with such error: map matching fails sometimes
|
||||||
if j['code'] == 'NoSegment' or j['code'] == 'NoMatch':
|
if j['code'] == 'NoSegment' or j['code'] == 'NoMatch':
|
||||||
response.success()
|
response.success()
|
||||||
else:
|
|
||||||
print(f"MATCH Unexpected error: {j}")
|
|
||||||
else:
|
|
||||||
print(f"MATCH Unexpected status code: {response.status_code}")
|
|
||||||
|
|
||||||
|
|
||||||
@task
|
@task
|
||||||
def get_nearest(self):
|
def get_nearest(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user