Spaces:
Running
Running
Update tool.py
Browse files
tool.py
CHANGED
@@ -32,4 +32,5 @@ class SimpleTool(Tool):
|
|
32 |
)
|
33 |
return directions_result[0]["legs"][0]["duration"]["text"]
|
34 |
except Exception as e:
|
35 |
-
print(e, directions_result)
|
|
|
|
32 |
)
|
33 |
return directions_result[0]["legs"][0]["duration"]["text"]
|
34 |
except Exception as e:
|
35 |
+
print(e, directions_result)
|
36 |
+
return e
|