| … | … | @@ -383,7 +383,9 @@ void StorageNode::barrier(AtomSpace* as) |
| 383 | 383 | void StorageNode::store_atom(const Handle& h) |
| 384 | 384 | { |
| 385 | 385 | if (_target_as->get_read_only()) |
| 386 | throw RuntimeException(TRACE_INFO, "Read-only AtomSpace!"); | |
| 386 | throw RuntimeException(TRACE_INFO, | |
| 387 | "Attempt to store to read-only target AtomSpace %s", | |
| 388 | _target_as->to_string().c_str()); | |
| 387 | 389 | |
| 388 | 390 | storeAtom(h); |
| 389 | 391 | } |