logging uncaught logic_error exceptions in directmap command handler. Open issue is still that logic_errors are not caught in upper layer which leads to a crash of wolframed