Track extension adding listener and include in exception info.
big-andy-coates opened this issue · 0 comments
big-andy-coates commented
For example, when an extension registers api.tests().listeners().add(new MyListener())
, we should capture which extension this came from. Later, if this listener was to throw an exception on a beforeSuite
callback, the exception thrown should be wrapped with one that includes the module name. This should help users understand where the issue is coming from.