labels: improve logging for import

Clear up the code a bit using the new logging functions.

Don't log a failure for "plan A" as an error, it just scares user unnecessarily.
This commit is contained in:
Dirk-Jan C. Binnema
2025-12-13 13:22:12 +02:00
committed by Seth Ladygo
parent f66b58cd41
commit dc5bbd9884
3 changed files with 48 additions and 36 deletions

View File

@ -43,6 +43,7 @@ class Store; // fwd declaration
Result<std::string> export_labels(const Store& store,
const std::string& query="",
Option<std::string> path={});
/**
* Import labels from a file
*