mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-14 00:30:31 +00:00
AbstractHafasClientInterfaceProvider: Exception message cosmetics.
This commit is contained in:
parent
a199d757d2
commit
d1f03705d0
1 changed files with 1 additions and 1 deletions
|
@ -522,7 +522,7 @@ public abstract class AbstractHafasClientInterfaceProvider extends AbstractHafas
|
|||
return new QueryTripsResult(header, QueryTripsResult.Status.UNKNOWN_LOCATION);
|
||||
if ("CGI_READ_FAILED".equals(err))
|
||||
return new QueryTripsResult(header, QueryTripsResult.Status.SERVICE_DOWN);
|
||||
throw new RuntimeException(err + (errTxt != null ? " " + errTxt : ""));
|
||||
throw new RuntimeException(err + " " + errTxt);
|
||||
}
|
||||
final JSONObject res = svcRes.getJSONObject("res");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue