From 120d0789a0adedd4fc9e89a8806cfc3388496233 Mon Sep 17 00:00:00 2001 From: Elijah Duffy Date: Tue, 3 Jun 2025 15:11:23 -0700 Subject: [PATCH] add message to SQLO database module check --- db.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db.go b/db.go index c1ea52f..39efe41 100644 --- a/db.go +++ b/db.go @@ -35,7 +35,7 @@ var ( // SQLO returns the current SQL database handle. func SQLO() *sql.DB { - dbModule.RequireLoaded() // ensure the module is loaded before accessing the database + dbModule.RequireLoaded("dbx.SQLO requires database module") // ensure the module is loaded before accessing the database if sqlDB == nil { panic("SQL database not initialized") }