refactor: use v0.4 Error type for error handling
This commit is contained in:
@@ -30,7 +30,7 @@ return {
|
||||
if not status or not status.success then
|
||||
ya.notify {
|
||||
title = "Chmod",
|
||||
content = string.format("Chmod with selected files failed, exit code %s", status and status.code or err),
|
||||
content = string.format("Chmod on selected files failed, error: %s", status and status.code or err),
|
||||
level = "error",
|
||||
timeout = 5,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user