From 46eed0328286c8cff451469f56a2a8e2c683650a Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Sat, 16 Dec 2017 15:38:02 +0100 Subject: [PATCH] Downgrade some undo-related error messages Missing undo isn't a error. There are valid cases for this to happen. e.g. switching snapshots or deleting tracks or session-format changes It's useful to know, but should not distract users showing up as "Errors" --- libs/ardour/session_command.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libs/ardour/session_command.cc b/libs/ardour/session_command.cc index 18f282f569..89dabbdcbf 100644 --- a/libs/ardour/session_command.cc +++ b/libs/ardour/session_command.cc @@ -80,7 +80,7 @@ Session::memento_command_factory(XMLNode *n) } if (!child) { - error << string_compose (_("Tried to reconstitute a MementoCommand with no contents, failing. id=%1"), id.to_s()) << endmsg; + info << string_compose (_("Tried to reconstitute a MementoCommand with no contents, failing. id=%1"), id.to_s()) << endmsg; return 0; } @@ -142,7 +142,7 @@ Session::memento_command_factory(XMLNode *n) } /* we failed */ - info << string_compose (_("could not reconstitute MementoCommand from XMLNode. object type = %1 id = %2"), type_name, id.to_s()) << endmsg; + info << string_compose (_("Could not reconstitute MementoCommand from XMLNode. object type = %1 id = %2"), type_name, id.to_s()) << endmsg; return 0 ; } @@ -175,8 +175,8 @@ Session::stateful_diff_command_factory (XMLNode* n) /* we failed */ - error << string_compose ( - _("could not reconstitute StatefulDiffCommand from XMLNode. object type = %1 id = %2"), type_name, id.to_s()) + info << string_compose ( + _("Could not reconstitute StatefulDiffCommand from XMLNode. object type = %1 id = %2"), type_name, id.to_s()) << endmsg; return 0;