mirror of
https://gitlab.computer.surgery/matrix/grapevine.git
synced 2025-12-17 15:51:23 +01:00
split out separate error type for serve command
This commit is contained in:
parent
86515d53cc
commit
5315bac0c5
3 changed files with 14 additions and 3 deletions
|
|
@ -60,7 +60,8 @@ pub(crate) struct ServeArgs {
|
|||
impl Args {
|
||||
pub(crate) async fn run(self) -> Result<(), error::Main> {
|
||||
match self.command {
|
||||
Command::Serve(args) => serve::run(args).await,
|
||||
Command::Serve(args) => serve::run(args).await?,
|
||||
}
|
||||
Ok(())
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue