Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

merge-queue: embarking main (0db014d) and #5200 together #5211

Closed
wants to merge 3 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion zebrad/src/application.rs
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ impl Application for ZebradApp {

builder = builder
.theme(theme)
.panic_section(metadata_section)
.panic_section(metadata_section.clone())
.issue_url(concat!(env!("CARGO_PKG_REPOSITORY"), "/issues/new"))
.issue_filter(|kind| match kind {
color_eyre::ErrorKind::NonRecoverable(error) => {
Expand Down Expand Up @@ -398,6 +398,11 @@ impl Application for ZebradApp {
}
components.push(Box::new(Tracing::new(tracing_config)?));

// Log git metadata and platform info when zebrad starts up
if is_server {
tracing::info!("Diagnostic {}", metadata_section);
}

// Activate the global span, so it's visible when we load the other
// components. Space is at a premium here, so we use an empty message,
// short commit hash, and the unique part of the network name.
Expand Down