handle non-string users
Some checks failed
CI / matrix (push) Failing after 2s
CI / (push) Has been skipped
CI / build (push) Has been skipped
CI / build-nixpkgs (push) Has been skipped

This commit is contained in:
Robin Appelman 2025-04-07 19:45:27 +02:00
commit de82dcf793
3 changed files with 43 additions and 5 deletions

View file

@ -57,7 +57,12 @@ impl StatefulWidget for GroupedLogs<'_> {
.wrap(Wrap::default()),
GroupedLogGrouping::Request => Paragraph::new(format!(
"{} {}\n\n {} from {} by {} - Nextcloud {}",
line.method, line.url, line.request_id, line.remote, line.user, line.version,
line.method,
line.url,
line.request_id,
line.remote,
line.user.as_str(),
line.version,
))
.wrap(Wrap::default()),
};