diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2012-01-24 13:34:20 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2012-01-24 13:34:20 +0000 |
commit | 68e72c94c88387e6ab158ffd7c1854afa59c75f3 (patch) | |
tree | 4fb4ae58a690596e29874f6a653a9f39325c6d83 /libs/ardour/internal_send.cc | |
parent | e2b181bc5cf342b73f71776898cd876fe3f6d824 (diff) |
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
Diffstat (limited to 'libs/ardour/internal_send.cc')
-rw-r--r-- | libs/ardour/internal_send.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/ardour/internal_send.cc b/libs/ardour/internal_send.cc index 27e219dd22..b4d89fb986 100644 --- a/libs/ardour/internal_send.cc +++ b/libs/ardour/internal_send.cc @@ -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; } |