mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2026-08-15 18:43:59 +00:00
Logger: huge cleanup
This commit is contained in:
@@ -301,7 +301,7 @@ Singleton {
|
||||
adapter.notifications = items
|
||||
historyFileView.writeAdapter()
|
||||
} catch (e) {
|
||||
Logger.error("Notifications", "Save history failed:", e)
|
||||
Logger.e("Notifications", "Save history failed:", e)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -331,7 +331,7 @@ Singleton {
|
||||
})
|
||||
}
|
||||
} catch (e) {
|
||||
Logger.error("Notifications", "Load failed:", e)
|
||||
Logger.e("Notifications", "Load failed:", e)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -461,7 +461,7 @@ Singleton {
|
||||
try {
|
||||
Quickshell.execDetached(["sh", "-c", `rm -rf "${Settings.cacheDirImagesNotifications}"*`])
|
||||
} catch (e) {
|
||||
Logger.error("Notifications", "Failed to clear cache directory:", e)
|
||||
Logger.e("Notifications", "Failed to clear cache directory:", e)
|
||||
}
|
||||
|
||||
historyList.clear()
|
||||
|
||||
Reference in New Issue
Block a user