Add runtime wrapper for reporting mode
This commit is contained in:
parent
d9deb9025b
commit
d9de33a932
1 changed files with 4 additions and 0 deletions
|
@ -135,6 +135,10 @@ impl<'a> Runtime<'a> {
|
|||
e
|
||||
}
|
||||
|
||||
pub fn report_exit(&self) -> bool {
|
||||
self.config.report_exit() || self.configuration.report_exit()
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
impl<'a> Debug for Runtime<'a> {
|
||||
|
|
Loading…
Reference in a new issue