Print underlying serialisation errors (#417)
This commit is contained in:
parent
7d80f60fd9
commit
ec4dbe03a4
|
@ -183,9 +183,9 @@ async fn main() -> Result<()> {
|
||||||
|
|
||||||
#[derive(Debug, Error)]
|
#[derive(Debug, Error)]
|
||||||
enum FlakeInfoError {
|
enum FlakeInfoError {
|
||||||
#[error("Getting flake info caused an error: {0}")]
|
#[error("Getting flake info caused an error: {0:?}")]
|
||||||
Flake(anyhow::Error),
|
Flake(anyhow::Error),
|
||||||
#[error("Getting nixpkgs info caused an error: {0}")]
|
#[error("Getting nixpkgs info caused an error: {0:?}")]
|
||||||
Nixpkgs(anyhow::Error),
|
Nixpkgs(anyhow::Error),
|
||||||
#[error("Getting group info caused one or more errors: {0:?}")]
|
#[error("Getting group info caused one or more errors: {0:?}")]
|
||||||
Group(Vec<anyhow::Error>),
|
Group(Vec<anyhow::Error>),
|
||||||
|
|
Loading…
Reference in a new issue