more useful error message when an internal send fails to find its target
git-svn-id: svn://localhost/ardour2/branches/3.0@11328 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
e2b181bc5c
commit
68e72c94c8
@ -276,7 +276,8 @@ InternalSend::connect_when_legal ()
|
||||
boost::shared_ptr<Route> sendto;
|
||||
|
||||
if ((sendto = _session.route_by_id (_send_to_id)) == 0) {
|
||||
error << X_("cannot find route to connect to") << endmsg;
|
||||
error << string_compose (_("%1 - cannot find any track/bus with the ID %2 to connect to"), display_name(), _send_to_id) << endmsg;
|
||||
cerr << string_compose (_("%1 - cannot find any track/bus with the ID %2 to connect to"), display_name(), _send_to_id) << endl;
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user