Software /
code /
prosody
Changeset
13611:3a23116cf063
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.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 08 Jan 2025 22:30:30 +0100 |
parents | 13610:ff0f4d1f16c8 |
children | 13612:8617f5962e47 |
files | plugins/mod_storage_sql.lua |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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