eventbus: Print stacktrace

This commit is contained in:
Owain van Brakel
2019-07-23 21:22:13 +02:00
parent 596689a4f7
commit 678a45d1ce

View File

@@ -11,6 +11,7 @@ import java.util.Map;
import java.util.Objects;
import javax.inject.Singleton;
import lombok.extern.slf4j.Slf4j;
import org.apache.commons.lang3.exception.ExceptionUtils;
@Slf4j
@Singleton
@@ -48,6 +49,7 @@ public class EventBus implements EventBusInterface
.subscribe(action, error ->
{
log.error("Error in eventbus: {}", error.getMessage());
log.error(ExceptionUtils.getStackTrace(error));
});
getCompositeDisposable(lifecycle).add(disposable);