diff --git a/lua/octo/commands.lua b/lua/octo/commands.lua index 22f3c28b..fde6c03d 100644 --- a/lua/octo/commands.lua +++ b/lua/octo/commands.lua @@ -368,7 +368,7 @@ function M.octo(object, action, ...) local a = o[action] if not a then - utils.error("Incorrect action: " .. action) + utils.error(action and "Incorrect action: " .. action or "No action specified") return else a(...)