aboutsummaryrefslogtreecommitdiff
path: root/src/grids.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/grids.cpp')
-rw-r--r--src/grids.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/grids.cpp b/src/grids.cpp
index c49cbb8f..d3158553 100644
--- a/src/grids.cpp
+++ b/src/grids.cpp
@@ -1403,7 +1403,7 @@ VerticalShiftGridSet::open(PJ_CONTEXT *ctx, const std::string &filename) {
#endif
}
- pj_log(ctx, PJ_LOG_ERROR, _("Unrecognized vertical grid format"));
+ pj_log(ctx, PJ_LOG_ERROR, "Unrecognized vertical grid format for filename '%s'", filename.c_str());
return nullptr;
}
@@ -2399,7 +2399,7 @@ HorizontalShiftGridSet::open(PJ_CONTEXT *ctx, const std::string &filename) {
#endif
}
- pj_log(ctx, PJ_LOG_ERROR, _("Unrecognized horizontal grid format"));
+ pj_log(ctx, PJ_LOG_ERROR, "Unrecognized horizontal grid format for filename '%s'", filename.c_str());
return nullptr;
}
@@ -2735,7 +2735,7 @@ GenericShiftGridSet::open(PJ_CONTEXT *ctx, const std::string &filename) {
#endif
}
- pj_log(ctx, PJ_LOG_ERROR, _("Unrecognized generic grid format"));
+ pj_log(ctx, PJ_LOG_ERROR, "Unrecognized generic grid format for filename '%s'", filename.c_str());
return nullptr;
}