OSX: add debug mesg to bl_locale_pgettext for later indeep investigation
authorJens Verwiebe <info@jensverwiebe.de>
Mon, 24 Feb 2014 10:18:07 +0000 (11:18 +0100)
committerJens Verwiebe <info@jensverwiebe.de>
Mon, 24 Feb 2014 10:18:17 +0000 (11:18 +0100)
intern/locale/boost_locale_wrapper.cpp

index 4d429f4078d30542af66a3b9f7ab020d82b73bdc..00371fbd94312293848d7f9636f39ca1aa62937b 100644 (file)
@@ -113,7 +113,8 @@ const char *bl_locale_pgettext(const char *msgctxt, const char *msgid)
                        return r;
                return msgid;
        }
-       catch(std::bad_cast) { /* std::bad_cast if std::has_facet<Facet>(loc) == false */
+       catch(std::bad_cast const &e) { /* std::bad_cast if std::has_facet<Facet>(loc) == false */
+//             std::cout << "bl_locale_pgettext(" << msgid << "): " << e.what() << " \n";
                return msgid;
        }
        catch(std::exception const &) {