martinspielmann / nexus3-crowd-plugin

Sonatype Nexus plugin for Atlassian Crowd integration
Apache License 2.0
39 stars 15 forks source link

CrowdMapper passing incorrect parameter to String.format() #11

Closed gmshake closed 7 years ago

gmshake commented 7 years ago

CrowdMapper.toUser() throws java.util.IllegalFormatConversionException when HttpResponse status code is 4xx

LOGGER.error(String.format("Error with request %s - %d", r.getEntity(), r.getStatusLine()));