diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2021-09-04 01:03:39 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-09-04 01:03:39 +0200 |
| commit | d4b2acb3146a323c783e83f828f3dca240f96d41 (patch) | |
| tree | 3fa8325b3ede2e2c50fd40d467d46afc9ec2604b | |
| parent | 24baa80540947808a3fb76457c918415b3ed0ab8 (diff) | |
| parent | 4f5d9f062522cc028b5089bfcf5c6dbc8dd4b3d3 (diff) | |
| download | PROJ-d4b2acb3146a323c783e83f828f3dca240f96d41.tar.gz PROJ-d4b2acb3146a323c783e83f828f3dca240f96d41.zip | |
Merge pull request #2840 from hobu/grid-debug-lint
Add some filename lint #2838 to output error messages
| -rw-r--r-- | src/grids.cpp | 6 |
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; } |
