| … | … | @@ -167,8 +167,9 @@ Handle UniqueLink::get_unique(const Handle& alias, Type type, |
| 167 | 167 | |
| 168 | 168 | // There is no definition for the alias. |
| 169 | 169 | throw InvalidParamException(TRACE_INFO, |
| 170 | "Cannot find definition for atom %s", | |
| 171 | alias->to_string().c_str()); | |
| 170 | "Cannot find definition for %s in %s", | |
| 171 | alias->to_string().c_str(), | |
| 172 | as->to_string("").c_str()); | |
| 172 | 173 | } |
| 173 | 174 | |
| 174 | 175 | DEFINE_LINK_FACTORY(UniqueLink, UNIQUE_LINK) |