aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHoward Butler <howard@hobu.co>2021-09-03 16:30:45 -0500
committerHoward Butler <howard@hobu.co>2021-09-03 16:30:45 -0500
commit4f5d9f062522cc028b5089bfcf5c6dbc8dd4b3d3 (patch)
tree3fa8325b3ede2e2c50fd40d467d46afc9ec2604b
parent24baa80540947808a3fb76457c918415b3ed0ab8 (diff)
downloadPROJ-4f5d9f062522cc028b5089bfcf5c6dbc8dd4b3d3.tar.gz
PROJ-4f5d9f062522cc028b5089bfcf5c6dbc8dd4b3d3.zip
Add some filename lint #2838 to output error messages
-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;
}