Skip to content

Commit 4e711b5

Browse files
committed
alsp print join-error when webserver panicked
1 parent 1176e79 commit 4e711b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/daemon.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ pub fn start_daemon<C: Context + Send + Clone + 'static>(
128128
// instead it will get killed when the process exits.
129129
webserver_thread
130130
.join()
131-
.map_err(|_| anyhow!("web server panicked"))?
131+
.map_err(|err| anyhow!("web server panicked: {:?}", err))?
132132
}
133133

134134
pub(crate) fn cron<F>(name: &'static str, interval: Duration, exec: F) -> Result<(), Error>

0 commit comments

Comments
 (0)