diff options
author | Kim Alvefur <zash@zash.se> | 2025-01-08 22:30:30 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2025-01-08 22:30:30 +0100 |
commit | ede98f71e4ede1e507d04dab1f14dd7457082be3 (patch) | |
tree | bd42c852a6a455ea71cd739a5f3e7a55d1800e2a /plugins | |
parent | 26eeda9ed699461c88e20623848142255cf2dbc8 (diff) | |
download | prosody-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.lua | 4 |
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 |