From 25d584bc9941a8e9ce31f94e4a41056eff747181 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Adrien=20B=C3=A9raud?= <adrien.beraud@savoirfairelinux.com>
Date: Tue, 6 Jan 2015 14:24:37 -0500
Subject: [PATCH] don't panic if an unknown account type is encountered

Refs #62707

Change-Id: Ib14571f21a9181e47dfff81abcef354534105092
---
 daemon/src/managerimpl.cpp | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/daemon/src/managerimpl.cpp b/daemon/src/managerimpl.cpp
index 6ae01b3f1b..07f9e8ffbe 100644
--- a/daemon/src/managerimpl.cpp
+++ b/daemon/src/managerimpl.cpp
@@ -2557,8 +2557,7 @@ ManagerImpl::loadAccount(const YAML::Node &node, int &errorCount,
                 ++errorCount;
             }
         } else {
-            SFL_ERR("Ignoring unknown account type \"%s\"", accountType.c_str());
-            ++errorCount;
+            SFL_WARN("Ignoring unknown account type \"%s\"", accountType.c_str());
         }
     }
 }
-- 
GitLab