OSX: add debug mesg to bl_locale_pgettext for later indeep investigation
[blender.git] / 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 &) {