aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2025-01-08 22:30:30 +0100
committerKim Alvefur <zash@zash.se>2025-01-08 22:30:30 +0100
commitede98f71e4ede1e507d04dab1f14dd7457082be3 (patch)
treebd42c852a6a455ea71cd739a5f3e7a55d1800e2a /plugins
parent26eeda9ed699461c88e20623848142255cf2dbc8 (diff)
downloadprosody-ede98f71e4ede1e507d04dab1f14dd7457082be3.tar.gz
prosody-ede98f71e4ede1e507d04dab1f14dd7457082be3.zip
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.
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_storage_sql.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/mod_storage_sql.lua b/plugins/mod_storage_sql.lua
index 3f606160..f24f11fc 100644
--- a/plugins/mod_storage_sql.lua
+++ b/plugins/mod_storage_sql.lua
@@ -14,11 +14,11 @@ local t_concat = table.concat;
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