diff --git a/api/database.go b/api/database.go index f23523f..a675a1c 100644 --- a/api/database.go +++ b/api/database.go @@ -346,6 +346,7 @@ func (api *DatabaseAPI) processQuery(opID []byte, q *query.Query) (ok bool) { data, err := marshalRecord(r, true) if err != nil { api.send(opID, dbMsgTypeWarning, err.Error(), nil) + continue } api.send(opID, dbMsgTypeOk, r.Key(), data) } else { diff --git a/api/endpoints_modules.go b/api/endpoints_modules.go index da124b9..480fdef 100644 --- a/api/endpoints_modules.go +++ b/api/endpoints_modules.go @@ -10,8 +10,8 @@ func registerModulesEndpoints() error { Path: "modules/{moduleName:.+}/trigger/{eventName:.+}", Write: PermitSelf, ActionFunc: triggerEvent, - Name: "Export Configuration Options", - Description: "Returns a list of all registered configuration options and their metadata. This does not include the current active or default settings.", + Name: "Trigger Event", + Description: "Triggers an event of an internal module.", }); err != nil { return err } diff --git a/config/expertise.go b/config/expertise.go index eafb40f..177f211 100644 --- a/config/expertise.go +++ b/config/expertise.go @@ -53,17 +53,17 @@ func registerExpertiseLevelOption() { }, PossibleValues: []PossibleValue{ { - Name: "Simple", + Name: "Simple Interface", Value: ExpertiseLevelNameUser, Description: "Hide complex settings and information.", }, { - Name: "Advanced", + Name: "Advanced Interface", Value: ExpertiseLevelNameExpert, Description: "Show technical details.", }, { - Name: "Developer", + Name: "Developer Interface", Value: ExpertiseLevelNameDeveloper, Description: "Developer mode. Please be careful!", }, diff --git a/updater/updating.go b/updater/updating.go index 52c9256..81021bf 100644 --- a/updater/updating.go +++ b/updater/updating.go @@ -99,7 +99,7 @@ func (reg *ResourceRegistry) downloadIndex(ctx context.Context, client *http.Cli log.Warningf("%s: failed to save updated index %s: %s", reg.Name, idx.Path, err) } - log.Infof("%s: updated index %s", reg.Name, idx.Path) + log.Infof("%s: updated index %s with %d entries", reg.Name, idx.Path, len(newIndexData)) return nil }