diff --git a/features/testbot/status.feature b/features/testbot/status.feature index 1b12b33ea..43599d8ac 100644 --- a/features/testbot/status.feature +++ b/features/testbot/status.feature @@ -32,8 +32,8 @@ Feature: Status messages | from | to | route | status | message | | a | b | ab | 0 | Found route between points | | c | d | cd | 0 | Found route between points | - | a | c | | 207 | Cannot find route between points | - | b | d | | 207 | Cannot find route between points | + | a | c | | 207 | Impossible route between points. | + | b | d | | 207 | Impossible route between points. | Scenario: Malformed requests Given the node locations diff --git a/plugins/viaroute.hpp b/plugins/viaroute.hpp index 9aac0ea0b..293590d66 100644 --- a/plugins/viaroute.hpp +++ b/plugins/viaroute.hpp @@ -215,7 +215,7 @@ template class ViaRoutePlugin final : public BasePlugin // allow for connection in one direction. if (!all_in_same_component && no_route) { - json_result.values["status"] = "Impossible route"; + json_result.values["status_message"] = "Impossible route between points."; return 400; }