Skip to content

Commit

Permalink
Merge branch 'sat-backend-staging-verbose' into 'main'
Browse files Browse the repository at this point in the history
feat: Increase verbosity if parsing refs fails, to aid debugging

See merge request dfinity-lab/core/release!790
  • Loading branch information
sasa-tomic committed Jul 14, 2023
2 parents 8ca3b25 + 5196692 commit 1e91a1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rs/ic-management-backend/src/registry.rs
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ impl RegistryState {
};
Ok(rr)
} else {
Err(anyhow::anyhow!("unable to parse release name"))
Err(anyhow::anyhow!("unable to parse release name for version {}, refs {:?}", version, refs))
}
}
Err(gitlab::api::ApiError::Gitlab { msg }) if msg.contains(reqwest::StatusCode::NOT_FOUND.as_str()) => Err(anyhow::format_err!("no releases found for version {}", version)),
Expand Down

0 comments on commit 1e91a1f

Please sign in to comment.