Commit 2ce064c4 authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gato

Improved logging of error to include name of problematic plugin.

git-svn-id: http://svn.igniterealtime.org/svn/repos/wildfire/trunk@5223 b35dd754-fafc-0310-a699-88a17e54d16e
parent 2ecd7255
...@@ -371,8 +371,10 @@ public class PluginManager { ...@@ -371,8 +371,10 @@ public class PluginManager {
// Check the plugin's database schema (if it requires one). // Check the plugin's database schema (if it requires one).
if (!DbConnectionManager.getSchemaManager().checkPluginSchema(plugin)) { if (!DbConnectionManager.getSchemaManager().checkPluginSchema(plugin)) {
// The schema was not there and auto-upgrade failed. // The schema was not there and auto-upgrade failed.
Log.error(LocaleUtils.getLocalizedString("upgrade.database.failure")); Log.error(pluginName + " - " +
System.out.println(LocaleUtils.getLocalizedString("upgrade.database.failure")); LocaleUtils.getLocalizedString("upgrade.database.failure"));
System.out.println(pluginName + " - " +
LocaleUtils.getLocalizedString("upgrade.database.failure"));
} }
// Load any JSP's defined by the plugin. // Load any JSP's defined by the plugin.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment