feat: add basic error handling

Add anyhow::Result<()> return signature to all scripts and main.
This commit is contained in:
2023-05-21 23:47:02 +02:00
parent 4762c991a3
commit 9f3cc86e3f
5 changed files with 31 additions and 28 deletions

View File

@@ -36,7 +36,5 @@ fn main() -> Result<()> {
cli::Postgres::Import { path } => scripts::postgres::import(&path),
cli::Postgres::Dump { path } => scripts::postgres::dump(&path),
},
};
Ok(())
}
}