diff --git a/modules/base/HGInfoImpl.cpp b/modules/base/HGInfoImpl.cpp index 0429bf8f..50d57ae9 100644 --- a/modules/base/HGInfoImpl.cpp +++ b/modules/base/HGInfoImpl.cpp @@ -43,8 +43,7 @@ HGResult HGInfoImpl::Enable() HGBase_GetProfileInt(cfgPath, "info", "writeLog", 1, &writeLog); HGBool writeConsole; HGBase_GetProfileInt(cfgPath, "info", "writeConsole", 0, &writeConsole); - HGUInt defType = HGBASE_INFOTYPE_FATAL | HGBASE_INFOTYPE_ERROR | HGBASE_INFOTYPE_WARNING - | HGBASE_INFOTYPE_DESC | HGBASE_INFOTYPE_DEBUG; + HGUInt defType = HGBASE_INFOTYPE_FATAL | HGBASE_INFOTYPE_ERROR | HGBASE_INFOTYPE_WARNING; HGBase_GetProfileInt(cfgPath, "info", "type", (HGInt)defType, (HGInt*)&m_type); HGBase_GetProfileInt(cfgPath, "info", "showTime", 1, &m_showTime); HGBase_GetProfileInt(cfgPath, "info", "showId", 0, &m_showId); diff --git a/sdk/webservice/ManagerV2.cpp b/sdk/webservice/ManagerV2.cpp index 696c955c..3d454bd7 100644 --- a/sdk/webservice/ManagerV2.cpp +++ b/sdk/webservice/ManagerV2.cpp @@ -135,6 +135,10 @@ namespace ver_2 ret = sqlite3_finalize(stmt); assert(0 == ret); } + else + { + HGBase_WriteInfo(HGBASE_INFOTYPE_ERROR, "open database failed"); + } m_bindFolder.clear(); m_bindNameMode.clear();