summaryrefslogtreecommitdiffstats
path: root/src/serialisation/Parser.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-11-21 03:49:32 +0000
committerDavid Robillard <d@drobilla.net>2012-11-21 03:49:32 +0000
commit0583e0b72b6bf7064c2e8af498b18f0bc168485f (patch)
tree817903922138a6a697c4b22b5238318da15dbc70 /src/serialisation/Parser.cpp
parentd358cae57b7233bf6b781686979fc4dea4d090b3 (diff)
downloadingen-0583e0b72b6bf7064c2e8af498b18f0bc168485f.tar.gz
ingen-0583e0b72b6bf7064c2e8af498b18f0bc168485f.tar.bz2
ingen-0583e0b72b6bf7064c2e8af498b18f0bc168485f.zip
Move Configuration from Raul to Ingen.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4836 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/serialisation/Parser.cpp')
-rw-r--r--src/serialisation/Parser.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/serialisation/Parser.cpp b/src/serialisation/Parser.cpp
index a6036c32..0c15b0b4 100644
--- a/src/serialisation/Parser.cpp
+++ b/src/serialisation/Parser.cpp
@@ -229,7 +229,12 @@ parse_block(Ingen::World* world,
Sord::Iter i = model.find(subject, ingen_prototype, nil);
if (i.end() || i.get_object().type() != Sord::Node::URI) {
- world->log().error("Block missing mandatory ingen:prototype\n");
+ if (!i.end()) {
+ std::cerr << "type: " << i.get_object().type() << std::endl;
+ }
+ world->log().error(
+ Raul::fmt("Block %1% (%2%) missing mandatory ingen:prototype\n") %
+ subject.to_string() % path);
return boost::optional<Raul::Path>();
}