You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I need to have the runner class name inside each report message for a personal project. The simplest solution is to add an extra runner argument to the constructor of the Message class, but this requires to adjust all the existing runners. An other (very ugly) solution is to somehow parse the backtrace in the Message's constructor and get the caller class from it.
Which solution sounds better for you? Would you accept a PR?
The text was updated successfully, but these errors were encountered:
The simplest solution is to add an extra runner argument to the constructor of the Message class, but this requires to adjust all the existing runners.
I think that's the way to go and I would accept a PR 😄.
Hi!
I need to have the runner class name inside each report message for a personal project. The simplest solution is to add an extra runner argument to the constructor of the
Message
class, but this requires to adjust all the existing runners. An other (very ugly) solution is to somehow parse the backtrace in theMessage
's constructor and get the caller class from it.Which solution sounds better for you? Would you accept a PR?
The text was updated successfully, but these errors were encountered: