From 0b25f3d02a72ebe2953441f36fd6595bb9fb4e22 Mon Sep 17 00:00:00 2001 From: Manuel Nickschas Date: Tue, 1 Jul 2008 01:50:21 +0200 Subject: [PATCH] Make warnings a little easier to understand --- src/core/core.cpp | 3 +++ src/core/sslserver.cpp | 6 +++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/core/core.cpp b/src/core/core.cpp index c92c4f15..31a409f5 100644 --- a/src/core/core.cpp +++ b/src/core/core.cpp @@ -55,6 +55,9 @@ Core::Core() : storage(0) { if(!_storageBackends.count()) { qWarning() << qPrintable(tr("Could not initialize any storage backend! Exiting...")); + qWarning() << qPrintable(tr("Currently, Quassel only supports SQLite3. You need to build your\n" + "Qt library with the sqlite plugin enabled in order for quasselcore\n" + "to work.")); exit(1); // TODO make this less brutal (especially for mono client -> popup) } connect(&_storageSyncTimer, SIGNAL(timeout()), this, SLOT(syncStorage())); diff --git a/src/core/sslserver.cpp b/src/core/sslserver.cpp index 343af532..5a61a31b 100644 --- a/src/core/sslserver.cpp +++ b/src/core/sslserver.cpp @@ -45,9 +45,9 @@ SslServer::SslServer(QObject *parent) _certIsValid = !_cert.isNull() && _cert.isValid() && !_key.isNull(); if(!_certIsValid) { - qWarning() << "SslServer: SSL Certificate is either missing or has wrong format!"; - qWarning() << " make sure that ~/.quassel/quasselCert.pem is pem format and contains the cert and an rsa key!"; - qWarning() << "SslServer: this Quassel Core cannot provide SSL!"; + qWarning() << "SslServer: SSL Certificate is either missing or has a wrong format!\n" + << " Quassel Core will still work, but cannot provide SSL for client connections.\n" + << " Please see http://quassel-irc.org/faq/cert to learn how to enable SSL support."; } } -- 2.20.1