bug4941 adjusted debug error message

This commit is contained in:
Kai Börnert committed 2019-04-02 13:39:22 +02:00
1 parent ca1f6f6d1f
commit abf48a8c8f
1 file changed
+3 -2
@@ -65,9 +65,10 @@ public class QRCodePlace extends AbstractBasePlace {
if (markId == null && (mode == InvitationMode.COMPETITOR || mode == InvitationMode.COMPETITOR_2)) {
GWT.log("No parameter " + DeviceMappingConstants.URL_MARK_ID_AS_STRING + " found!");
}
if (competitorId != null && mode == InvitationMode.BOUY_TENDER) {
if ((competitorId != null || boatId != null || markId != null)
&& mode == InvitationMode.BOUY_TENDER) {
GWT.log("Found parameter " + DeviceMappingConstants.URL_COMPETITOR_ID_AS_STRING
+ " but is not required!");
+ " will be ignored in bouy tender mode!");
}
if (eventId == null) {
GWT.log("No parameter " + DeviceMappingConstants.URL_EVENT_ID + " found!");