James Moger
2013-01-08 1f82620a088efa2ba3254df1805e229266690673
Catch a few other possible error scenarios in Redmine user service
1 files modified
5 ■■■■■ changed files
src/com/gitblit/RedmineUserService.java 5 ●●●●● patch | view | raw | blame | history
src/com/gitblit/RedmineUserService.java
@@ -102,6 +102,11 @@
            }
        }
        
        if (StringUtils.isEmpty(jsonString)) {
            logger.error("Received empty authentication response from Redmine");
            return null;
        }
        RedmineCurrent current = null;
        try {
            current = new Gson().fromJson(jsonString, RedmineCurrent.class);