From 6b16aa6794efb7d795aad4cc730f456515597949 Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Fri, 3 Jun 2011 05:34:22 +0100 Subject: mod_storage_sql: Log error when failing to update MySQL schema --- plugins/mod_storage_sql.lua | 2 ++ 1 file changed, 2 insertions(+) (limited to 'plugins') diff --git a/plugins/mod_storage_sql.lua b/plugins/mod_storage_sql.lua index dd148704..57331ac0 100644 --- a/plugins/mod_storage_sql.lua +++ b/plugins/mod_storage_sql.lua @@ -108,6 +108,8 @@ local function create_table() end end repeat until not stmt:fetch(); + else + module:log("error", "Failed to upgrade database schema, please see http://prosody.im/doc/mysql for help"); end end end -- cgit v1.2.3