Warning stack trace

Is it possible to retrieve a warning’s stack trace, similar to errors? The reason I’m asking is that I want to trace the source of the warning, as now it shows the line where it’s being thrown, but not the actual code that triggered it.

For example this warning thrown by the Router is actually caused by a completely different file:

1 Like