Skip to content

Commit 2419371

Browse files
committed
fix: Additionally log startup errors to the log instead of just to stderr
1 parent 640af3d commit 2419371

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

mgmtd/src/main.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,8 @@ doc.beegfs.io.",
145145
},
146146
license,
147147
)
148-
.await?;
148+
.await
149+
.inspect_err(|err| log::error!("{err:#}"))?;
149150

150151
// Mgmtds systemd unit is set to service type "notify". Here we send out the
151152
// notification that the service has completed startup and is ready for serving

0 commit comments

Comments
 (0)