Fx/bug with switch break (#66)

* Added more debug logs

* Fix bug with missing break
This commit is contained in:
Inal Arsanukaev 2018-10-19 20:20:56 +03:00 committed by GitHub
parent 7fa36e99a2
commit 92b3689c0b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -213,6 +213,7 @@ public class InvoicingMessageDaoImpl extends NamedParameterJdbcDaoSupport implem
.contactInfo(new ContactInfo()
.email(rs.getString(PAYMENT_EMAIL))
.phoneNumber(rs.getString(PAYMENT_PHONE))));
break;
default:
throw new UnsupportedOperationException("Unknown payerType "+payerType+"; must be one of these: "+Arrays.toString(Payer.PayerTypeEnum.values()));
}