[dev] Better exception description in test_mgr.cpp.