- // unfortunately the message of enchant::Exception is unreachable
- LYXERR(Debug::FILES, "cannot add enchant speller, unspecified enchant exception in request_dict().");
+ const char * what = e.what();
+ LYXERR(Debug::FILES, "cannot add enchant speller: " <<
+ ((what && *what) ? what : "unspecified enchant exception in request_dict()"));