Skip to content

Commit 056b5df

Browse files
committed
gtfs: improve error message
1 parent 2ca85c1 commit 056b5df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

reader-gtfs/src/main/java/com/conveyal/gtfs/error/RangeError.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public RangeError(String file, long line, String field, double min, double max,
4343
}
4444

4545
@Override public String getMessage() {
46-
return String.format(Locale.getDefault(), "Number %s outside of acceptable range [%s,%s].", actual, min, max);
46+
return String.format(Locale.getDefault(), "Number %s in field %s outside of acceptable range [%s,%s].", actual, field, min, max);
4747
}
4848

4949
}

0 commit comments

Comments
 (0)