mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-11-15 14:56:41 +00:00
Bug 5289: fixed wrong error message
This commit is contained in:
1 parent
b68bae892e
commit
3905977923
1 file changed
+2
-2
+2
-2
@@ -188,8 +188,8 @@ public class CompetitorsResource extends AbstractSailingServerResource {
|
||||
: competitor.getNationality();
|
||||
} catch (IllegalArgumentException e) {
|
||||
return Response.status(Status.BAD_REQUEST)
|
||||
.entity(String.format("invalid %s %s", CompetitorJsonConstants.FIELD_TEAM_IMAGE_URI,
|
||||
competitorJson.get(CompetitorJsonConstants.FIELD_TEAM_IMAGE_URI)))
|
||||
.entity(String.format("invalid %s %s", CompetitorJsonConstants.FIELD_NATIONALITY,
|
||||
competitorJson.get(CompetitorJsonConstants.FIELD_NATIONALITY)))
|
||||
.type(MediaType.TEXT_PLAIN).build();
|
||||
}
|
||||
final Double timeOnTimeFactor;
|
||||
|
||||
Reference in new issue
Block a user