mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-11-22 14:17:57 +01:00
Catch all exceptions during purge.
This commit is contained in:
parent
ed6d89fb7e
commit
04d58533cf
@ -135,6 +135,7 @@ public class AdminController extends BaseController {
|
||||
|
||||
for (int i = minUid; i < maxUid; i++) {
|
||||
System.out.println("Looking for user:" + i);
|
||||
try {
|
||||
final User user = userService.getUserBy(i);
|
||||
if (user != null) {
|
||||
// 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
Block a user