Skip to content
This repository has been archived by the owner on Jul 1, 2022. It is now read-only.

Commit

Permalink
Handle all exceptions during queue processing
Browse files Browse the repository at this point in the history
This reverts a change that made QueueProcessor only handle
InterruptedException. Instead we want to ignore and log all exceptions
because otherwise the QueueProcessor thread would fail silently.
  • Loading branch information
lenaschoenburg committed Feb 22, 2019
1 parent c88d448 commit c480b70
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ public void run() {
} catch (SenderException e) {
metrics.reporterFailure.inc(e.getDroppedSpanCount());
}
} catch (InterruptedException e) {
} catch (Exception e) {
log.error("QueueProcessor error:", e);
// Do nothing, and try again on next span.
}
Expand Down

0 comments on commit c480b70

Please sign in to comment.