Remove stacktrace, use getMessage instead

This commit is contained in:
Xephi 2015-12-21 17:10:28 +01:00
parent 3601eab591
commit 20b1f08c46

View File

@ -5,6 +5,7 @@ import java.sql.SQLException;
import org.bukkit.command.CommandSender;
import fr.xephi.authme.AuthMe;
import fr.xephi.authme.ConsoleLogger;
import fr.xephi.authme.cache.auth.PlayerAuth;
import fr.xephi.authme.datasource.DataSource.DataSourceType;
import fr.xephi.authme.datasource.SQLite;
@ -35,7 +36,7 @@ public class SqliteToSql implements Converter {
}
} catch (Exception e) {
sender.sendMessage(plugin.getMessages().retrieve(MessageKey.ERROR));
e.printStackTrace();
ConsoleLogger.showError(e.getMessage());
}
}