- All Implemented Interfaces:
- Plugin
@API(status=STABLE)
public final class OriginalStackTracePlugin
extends Object
implements Plugin
Preserves the original stack traces of failed requests. Requests in Riptide are executed asynchronously by default.
That has the unfortunate side-effect that stack traces from exceptions that happen when processing the response will
not contain everything that is needed to trace back to the caller.
This plugin will modify the stack trace of any thrown exception and appending the stack trace elements of the
original stack trace