mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 16:46:35 +01:00
Dump XML node if loading a source fails
This helps to debug issues, in case this comes up in a session with many sources.
This commit is contained in:
parent
3c2fdab1ce
commit
d9ec733c47
1 changed files with 1 additions and 0 deletions
|
|
@ -2585,6 +2585,7 @@ Session::XMLSourceFactory (const XMLNode& node)
|
||||||
|
|
||||||
catch (failed_constructor& err) {
|
catch (failed_constructor& err) {
|
||||||
error << string_compose (_("Found a sound file that cannot be used by %1. Talk to the programmers."), PROGRAM_NAME) << endmsg;
|
error << string_compose (_("Found a sound file that cannot be used by %1. Talk to the programmers."), PROGRAM_NAME) << endmsg;
|
||||||
|
node.dump (std::cout, " Invalid Source: ");
|
||||||
return boost::shared_ptr<Source>();
|
return boost::shared_ptr<Source>();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue