deploy: 1217e252458257a8ea2256adaff92fe5df15fa09

This commit is contained in:
richard-ramos 2021-12-03 14:08:30 +00:00
parent bc7646864a
commit ae8671c447
6 changed files with 4 additions and 3 deletions

View File

@ -2,7 +2,7 @@
# libtool - Provide generalized library-building support services.
# Generated automatically by config.status (libbacktrace) version-unused
# Libtool was configured on host fv-az173-167:
# Libtool was configured on host fv-az272-684:
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
#
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,

View File

@ -125,7 +125,7 @@ method getAll*(db: WakuMessageStore, onData: message_store.DataProc, limit = non
let res = db.database.query(selectQuery, msg)
if res.isErr:
return err("failed")
return err(res.error)
ok gotMessages

View File

@ -459,8 +459,9 @@ proc init*(ws: WakuStore, capacity = DefaultStoreCapacity) =
if res.isErr:
warn "failed to load messages from store", err = res.error
waku_store_errors.inc(labelValues = ["store_load_failure"])
else:
info "successfully loaded from store"
info "successfully loaded from store"
debug "the number of messages in the memory", messageNum=ws.messages.len
waku_store_messages.set(ws.messages.len.int64, labelValues = ["stored"])