diff options
author | David Robillard <d@drobilla.net> | 2012-07-26 15:24:56 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-07-26 15:24:56 +0000 |
commit | b83ed4f83cf4c9b5054dcf55bea710313c369633 (patch) | |
tree | 21ca3e35db6abc9718c83b604fbef7975c4b8301 | |
parent | e89902e35e31977bfc310eb735aa57494a073eeb (diff) | |
download | ingen-b83ed4f83cf4c9b5054dcf55bea710313c369633.tar.gz ingen-b83ed4f83cf4c9b5054dcf55bea710313c369633.tar.bz2 ingen-b83ed4f83cf4c9b5054dcf55bea710313c369633.zip |
Better error message for unknown port types.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4555 a436a847-0d15-0410-975c-d299462d15a1
-rw-r--r-- | src/server/LV2Node.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/server/LV2Node.cpp b/src/server/LV2Node.cpp index 3d1e4a52..a3c0faa4 100644 --- a/src/server/LV2Node.cpp +++ b/src/server/LV2Node.cpp @@ -313,7 +313,8 @@ LV2Node::instantiate(BufferFactory& bufs) } if (port_type == PortType::UNKNOWN || direction == UNKNOWN) { - Raul::warn << "Unknown type or direction for port `" << port_sym << "'" << endl; + Raul::error(Raul::fmt("<%1%> port %2% has unknown type or direction\n") + % _lv2_plugin->uri() % port_sym); ret = false; break; } |