Commit cc8cb098 authored by jan.koester's avatar jan.koester
Browse files

test

parent 800106dd
Loading
Loading
Loading
Loading
+8 −1
Original line number Diff line number Diff line
@@ -25,6 +25,9 @@
 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 *******************************************************************************/

#include <iostream>
#include <confplus/exception.h>

#include "webedit_config.h"

webedit::Config::Config(const std::string &path) : confplus::Config(path) {
@@ -99,7 +102,11 @@ webedit::Config::Config(const std::string &path) : confplus::Config(path) {
            }
            _authSources.push_back(std::move(src));
        }
    } catch (...) {}
    } catch (confplus::ConfException &e) {
        std::cerr << "AUTHDB config error: " << e.what() << std::endl;
    } catch (...) {
        std::cerr << "AUTHDB config: unknown error" << std::endl;
    }
}

const blogi::AuthSource *webedit::Config::findAuthSource(const std::string &domain) const {