handlers::event: improve tracing

This commit is contained in:
seth 2024-03-18 08:45:25 -04:00
parent 9d0c022c68
commit af9938a3c6
No known key found for this signature in database
GPG key ID: D31BD0D494BBEE86
9 changed files with 34 additions and 1 deletions

View file

@ -1,12 +1,15 @@
use crate::Data;
use eyre::Result;
use log::trace;
use once_cell::sync::Lazy;
use regex::Regex;
pub type Issue = Option<(String, String)>;
pub async fn find(log: &str, data: &Data) -> Result<Vec<(String, String)>> {
trace!("Checking log for issues");
let issues = [
fabric_internal,
flatpak_nvidia,