diff --git a/src/main.c b/src/main.c
index f49f29c..4e2c424 100644
--- a/src/main.c
+++ b/src/main.c
str = g_key_file_get_string(config, "GATT", "Cache", &err);
if (err) {
+ DBG("%s", err->message);
g_clear_error(&err);
- main_opts.gatt_cache = BT_GATT_CACHE_ALWAYS;
} else {
main_opts.gatt_cache = parse_gatt_cache(str);
g_free(str);
main_opts.did_product = 0x0246; /* BlueZ */
main_opts.did_version = (major << 8 | minor);
+ main_opts.gatt_cache = BT_GATT_CACHE_ALWAYS;
main_opts.gatt_mtu = BT_ATT_MAX_LE_MTU;
}