debug: add logging to get_categories + better error details in CalendarPluginPage

This commit is contained in:
2026-06-08 12:01:29 +08:00
parent a202c5d079
commit 5069472e19
4 changed files with 7 additions and 5 deletions
+1
View File
@@ -80,6 +80,7 @@ end
-- Get all non-deleted categories
function M.get_categories()
print("get_categories called")
return verstak.db.query(
"SELECT id, name, color, icon, sort_order FROM categories WHERE deleted = 0 ORDER BY sort_order"
)