mirror of
https://github.com/PeernetOfficial/core.git
synced 2026-07-17 02:47:51 +01:00
New config field LogTarget. Simplified function backend.LogError.
This commit is contained in:
@@ -59,7 +59,7 @@ func Init(UserAgent string, ConfigFilename string, Filters *Filters) (backend *B
|
||||
backend.initBlockchainCache()
|
||||
|
||||
if backend.SearchIndex, err = search.InitSearchIndexStore(backend.Config.SearchIndex); err != nil {
|
||||
backend.Filters.LogError("Init", "search index '%s' init: %s", backend.Config.SearchIndex, err.Error())
|
||||
backend.LogError("Init", "search index '%s' init: %s", backend.Config.SearchIndex, err.Error())
|
||||
} else {
|
||||
backend.userBlockchainUpdateSearchIndex()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user