# HG changeset patch # User Matthew Wild # Date 1307075662 -3600 # Node ID 3421dfaa81880201e9ade8b4eee727ade9a9ce33 # Parent d2406f0ce8a52052194ca0cc6a10bb35d9cb2312 mod_storage_sql: Log error when failing to update MySQL schema diff -r d2406f0ce8a5 -r 3421dfaa8188 plugins/mod_storage_sql.lua --- a/plugins/mod_storage_sql.lua Fri Jun 03 00:57:25 2011 +0100 +++ b/plugins/mod_storage_sql.lua Fri Jun 03 05:34:22 2011 +0100 @@ -108,6 +108,8 @@ 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