Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove unnecessary exception logs in
AbstractContextAwareFuture
(#5328
) Motivation: When a decorator using `ctx.makeContextAware()` throws an exception in `handle()`, `AbstractContextAwareFuture` will log a misleading `An error occurred while pushing a context`. Instead, we shouldn't log anything. This was an accidental side effect of a726fd3#diff-4ad33a0c0d9becf6780837efb73386e5547723d537f79a22e313118e78a67d38 Modifications: - Remove warn logs for upstream exceptions in `AbstractContextAwareFuture`, and only log `context.push()` exceptions Result: - We no longer see misleading logs when throwing exceptions in `ContextAwareFuture.handle()` and other methods
- Loading branch information