修改路由错误信息
This commit is contained in:
parent
8a28c0e577
commit
2c48ee6537
@ -31,7 +31,7 @@ impl Args {
|
||||
Some(var) => Ok(var.clone()),
|
||||
None => return Err(syn::Error::new(
|
||||
Span::call_site().into(),
|
||||
"No Route was provided"
|
||||
"route must have one argument"
|
||||
))
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user