feat: add small docs
All checks were successful
continuous-integration/drone/push Build is passing

Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
Kasper Juul Hermansen 2024-08-07 16:44:12 +02:00
parent 61cbec0477
commit b7b2992730
Signed by: kjuulh
GPG Key ID: D85D7535F18F35FA
2 changed files with 2 additions and 1 deletions

2
Cargo.lock generated
View File

@ -236,7 +236,7 @@ checksum = "a7a70ba024b9dc04c27ea2f0c0548feb474ec5c54bba33a7f72f873a39d07b24"
[[package]] [[package]]
name = "mad" name = "mad"
version = "0.2.0" version = "0.3.0"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"async-trait", "async-trait",

View File

@ -94,6 +94,7 @@ impl Mad {
let close_result = self.close_components().await; let close_result = self.close_components().await;
tracing::info!("mad is closing down");
match (run_result, close_result) { match (run_result, close_result) {
(Err(run), Err(close)) => { (Err(run), Err(close)) => {
return Err(MadError::AggregateError(AggregateError { return Err(MadError::AggregateError(AggregateError {