Software / code / prosody
Changeset
4297:3421dfaa8188 0.8.1
mod_storage_sql: Log error when failing to update MySQL schema
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Fri, 03 Jun 2011 05:34:22 +0100 |
| parents | 4294:d2406f0ce8a5 |
| children | 4298:c1dff8c0c3e7 |
| files | plugins/mod_storage_sql.lua |
| diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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