Add reporting implementation
This commit is contained in:
parent
d9de33a932
commit
51870b63f2
1 changed files with 8 additions and 0 deletions
|
@ -68,4 +68,12 @@ fn main() {
|
||||||
};
|
};
|
||||||
|
|
||||||
info!("{}", Yellow.paint(format!("Module execution ended with {}", res)));
|
info!("{}", Yellow.paint(format!("Module execution ended with {}", res)));
|
||||||
|
|
||||||
|
if rt.report_exit() {
|
||||||
|
if res {
|
||||||
|
println!("Ok");
|
||||||
|
} else {
|
||||||
|
println!("Error");
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue