mirror of
https://bitbucket.org/projectswg/lightspeed.git
synced 2026-09-29 15:12:56 -04:00
Improved concurrency of build/test/install and changed all e.printStackTrace to Log.e(e)
This commit is contained in:
@@ -30,6 +30,8 @@ package com.projectswg.common.callback;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
import com.projectswg.common.info.Log;
|
||||
|
||||
public class CallbackManager<T> extends BaseCallbackManager {
|
||||
|
||||
private final List<T> callbacks;
|
||||
@@ -75,7 +77,7 @@ public class CallbackManager<T> extends BaseCallbackManager {
|
||||
try {
|
||||
call.run(callback);
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
Log.e(e);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user