Bump and print server version
This commit is contained in:
parent
3560febc3f
commit
c5c548c5d4
3 changed files with 8 additions and 2 deletions
|
|
@ -8,6 +8,7 @@ mod server;
|
|||
use anyhow::{Context as _, Result};
|
||||
use app_state::AppState;
|
||||
use errors::{init_error, SyncServerError};
|
||||
use log::info;
|
||||
use server::create_server;
|
||||
use tracing_subscriber::{layer::SubscriberExt, util::SubscriberInitExt};
|
||||
|
||||
|
|
@ -28,6 +29,11 @@ async fn main() -> Result<(), SyncServerError> {
|
|||
.context("Failed to initialise tracing")
|
||||
.map_err(init_error)?;
|
||||
|
||||
info!(
|
||||
"Starting VaultLink server version {}",
|
||||
env!("CARGO_PKG_VERSION")
|
||||
);
|
||||
|
||||
let app_state = AppState::try_new()
|
||||
.await
|
||||
.context("Failed to initialise app state")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue