diff --git a/libsignal-service/src/groups_v2/manager.rs b/libsignal-service/src/groups_v2/manager.rs index 25a02e1b7..10ab2ead8 100644 --- a/libsignal-service/src/groups_v2/manager.rs +++ b/libsignal-service/src/groups_v2/manager.rs @@ -267,7 +267,7 @@ impl GroupsManager { #[tracing::instrument( skip(self, group_secret_params), - fields(path = %path[..4]), + fields(path = %path[..4.min(path.len())]), )] pub async fn retrieve_avatar( &mut self,