From aea8d5fbece85f2e4fbc0b6a74012ab2b1b1fad9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Imobach=20Gonz=C3=A1lez=20Sosa?= Date: Fri, 23 Jan 2026 13:53:01 +0000 Subject: [PATCH] Do not crash when users setup fails --- rust/agama-users/src/service.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/rust/agama-users/src/service.rs b/rust/agama-users/src/service.rs index 91e8d249ac..90e8779a63 100644 --- a/rust/agama-users/src/service.rs +++ b/rust/agama-users/src/service.rs @@ -222,7 +222,9 @@ impl MessageHandler for Service { impl MessageHandler for Service { async fn handle(&mut self, _message: message::Install) -> Result<(), Error> { if let Some(proposal) = self.get_proposal() { - self.model.install(&proposal)?; + if let Err(error) = self.model.install(&proposal) { + tracing::error!("Failed to write users configuration: {error}"); + } } else { tracing::error!("Missing authentication configuration"); };