Skip to content
Snippets Groups Projects
Commit 28366684 authored by Dmitriy A. Gerasimov's avatar Dmitriy A. Gerasimov
Browse files

[*] Upd

parent 97673bc8
No related branches found
No related tags found
No related merge requests found
...@@ -184,6 +184,8 @@ int dap_chain_global_db_init(dap_config_t * g_config) ...@@ -184,6 +184,8 @@ int dap_chain_global_db_init(dap_config_t * g_config)
lock(); lock();
int res = dap_db_driver_init(l_driver_name, s_storage_path); int res = dap_db_driver_init(l_driver_name, s_storage_path);
unlock(); unlock();
if( res != 0 )
log_it(L_CRITICAL, "Hadn't initialized db driver \"%s\" on path \"%s\"", l_driver_name, s_storage_path );
return res; return res;
} }
......
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
#include "dap_chain_global_db_driver_cdb.h" #include "dap_chain_global_db_driver_cdb.h"
#include "dap_file_utils.h" #include "dap_file_utils.h"
#define LOG_TAG "db_cdb" #define LOG_TAG "dap_chain_global_db_cdb"
typedef struct _obj_arg { typedef struct _obj_arg {
pdap_store_obj_t o; pdap_store_obj_t o;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment