# HG changeset patch # User Kim Alvefur # Date 1736371830 -3600 # Node ID 3a23116cf0632c2c6d0b520bff6cd124f77f38e1 # Parent ff0f4d1f16c8311552ee4a0b0f96f5e9b0fa6277 mod_storage_sql: Remove the word 'error' from debug messages The word 'error' anywhere, especially in harmless debug messages, are too often interpreted as fatal errors my some users, so best avoid that word. These look too scary as it is, being tracebacks. diff -r ff0f4d1f16c8 -r 3a23116cf063 plugins/mod_storage_sql.lua --- a/plugins/mod_storage_sql.lua Wed Jan 08 20:37:35 2025 +0000 +++ b/plugins/mod_storage_sql.lua Wed Jan 08 22:30:30 2025 +0100 @@ -14,11 +14,11 @@ local have_dbisql, dbisql = pcall(require, "prosody.util.sql"); local have_sqlite, sqlite = pcall(require, "prosody.util.sqlite3"); if not have_dbisql then - module:log("debug", "Could not load LuaDBI, error was: %s", dbisql) + module:log("debug", "Could not load LuaDBI: %s", dbisql) dbisql = nil; end if not have_sqlite then - module:log("debug", "Could not load LuaSQLite3, error was: %s", sqlite) + module:log("debug", "Could not load LuaSQLite3: %s", sqlite) sqlite = nil; end if not (have_dbisql or have_sqlite) then