aboutsummaryrefslogtreecommitdiff
path: root/src/iso19111/c_api.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/iso19111/c_api.cpp')
-rw-r--r--src/iso19111/c_api.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/iso19111/c_api.cpp b/src/iso19111/c_api.cpp
index 7f51e613..175266d7 100644
--- a/src/iso19111/c_api.cpp
+++ b/src/iso19111/c_api.cpp
@@ -158,8 +158,9 @@ static PJ *pj_obj_create(PJ_CONTEXT *ctx, const IdentifiedObjectNNPtr &objIn) {
pj->iso_obj = objIn;
return pj;
}
- } catch (const std::exception &e) {
- proj_log_debug(ctx, __FUNCTION__, e.what());
+ } catch (const std::exception &) {
+ // Silence, since we may not always be able to export as a
+ // PROJ string.
}
}
auto pj = new PJ();