Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Respect options when using
trace_with
after trace_class
.
#5045 introduced a new behaviour to `add_trace_options_for` where it no longer merges options when trace class does not include `DefaultTraceClass`. While it did update `build_trace_mode` to include `DefaultTraceClass` in the trace classes, there is still `trace_class` method where it can register a new trace class in default mode without including `DefaultTraceClass`. So I fix the issue by ensuring `DefaultTraceClass` is included in the `new_class` in `trace_class`.
- Loading branch information