Catch all exceptions during purge.
parent
ed6d89fb7e
commit
04d58533cf
|
@ -135,6 +135,7 @@ public class AdminController extends BaseController {
|
||||||
|
|
||||||
for (int i = minUid; i < maxUid; i++) {
|
for (int i = minUid; i < maxUid; i++) {
|
||||||
System.out.println("Looking for user:" + i);
|
System.out.println("Looking for user:" + i);
|
||||||
|
try {
|
||||||
final User user = userService.getUserBy(i);
|
final User user = userService.getUserBy(i);
|
||||||
if (user != null) {
|
if (user != null) {
|
||||||
// Do not process admin accounts ...
|
// Do not process admin accounts ...
|
||||||
|
@ -164,7 +165,13 @@ public class AdminController extends BaseController {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
} catch (UnsupportedEncodingException e) {
|
||||||
|
e.printStackTrace();
|
||||||
|
} catch (WiseMappingException e) {
|
||||||
|
e.printStackTrace();
|
||||||
|
} catch (RuntimeException e) {
|
||||||
|
e.printStackTrace();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue