aboutsummaryrefslogtreecommitdiffstats
path: root/searchcore
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2021-08-25 07:52:38 +0000
committerHenning Baldersheim <balder@yahoo-inc.com>2021-08-25 07:52:38 +0000
commitb569596dee274a557a0a6e628b90b2292b2dd0b8 (patch)
treea272aa80796dd904656b4f135e3315bb3d79725b /searchcore
parentc43e37dcfb49d50a2b4109e4f8ac9a1d3ae0609e (diff)
Add more information to error message
Diffstat (limited to 'searchcore')
-rw-r--r--searchcore/src/vespa/searchcore/proton/matching/ranking_expressions.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/searchcore/src/vespa/searchcore/proton/matching/ranking_expressions.cpp b/searchcore/src/vespa/searchcore/proton/matching/ranking_expressions.cpp
index 49cf08d76c0..59f2d551bf3 100644
--- a/searchcore/src/vespa/searchcore/proton/matching/ranking_expressions.cpp
+++ b/searchcore/src/vespa/searchcore/proton/matching/ranking_expressions.cpp
@@ -46,7 +46,7 @@ RankingExpressions::loadExpression(const vespalib::string &name) const
auto path = pos->second;
vespalib::MappedFileInput file(path);
if (!file.valid()) {
- LOG(warning, "could not read file: %s", path.c_str());
+ LOG(warning, "rankexpression: %s -> could not read file: %s", name.c_str(), path.c_str());
return {};
}
if (ends_with(path, ".lz4")) {