Skip to content

Commit 0ebb846

Browse files
committed
always log errors
1 parent e6b2a87 commit 0ebb846

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/main/java/io/snabble/sdk/Events.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ public void logError(String format, Object... args) {
9999
}
100100

101101
private <T extends Payload> void post(final T payload, boolean debounce) {
102-
if (!isResumed) {
102+
if (!isResumed && payload.getEventType() != EventType.ERROR) {
103103
Logger.d("Could not send event, app is not active: " + payload.getEventType());
104104
return;
105105
}

0 commit comments

Comments
 (0)