From 4f5d9f062522cc028b5089bfcf5c6dbc8dd4b3d3 Mon Sep 17 00:00:00 2001 From: Howard Butler Date: Fri, 3 Sep 2021 16:30:45 -0500 Subject: Add some filename lint #2838 to output error messages --- src/grids.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/grids.cpp') 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; } -- cgit v1.2.3