summaryrefslogtreecommitdiff
path: root/src/command
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2017-07-05 12:25:55 +0200
committerMax Kellermann <max@musicpd.org>2017-07-05 12:25:55 +0200
commit3cfefa53f72eeba7cf63d1ca8ba110108f85f52f (patch)
tree29c085b13edd61e14a24628d8b2bf8961d8a4b92 /src/command
parentbce89feb13184408b7cefc05847c7754edf01ada (diff)
util/Exception: rename FullMessage() to GetFullMessage()
Diffstat (limited to 'src/command')
-rw-r--r--src/command/CommandError.cxx2
-rw-r--r--src/command/PlayerCommands.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/command/CommandError.cxx b/src/command/CommandError.cxx
index 8f5badb4d..2834b2bf5 100644
--- a/src/command/CommandError.cxx
+++ b/src/command/CommandError.cxx
@@ -147,5 +147,5 @@ void
PrintError(Response &r, std::exception_ptr ep)
{
LogError(ep);
- r.Error(ToAck(ep), FullMessage(ep).c_str());
+ r.Error(ToAck(ep), GetFullMessage(ep).c_str());
}
diff --git a/src/command/PlayerCommands.cxx b/src/command/PlayerCommands.cxx
index e73157ce4..a6bcf878f 100644
--- a/src/command/PlayerCommands.cxx
+++ b/src/command/PlayerCommands.cxx
@@ -196,7 +196,7 @@ handle_status(Client &client, gcc_unused Request args, Response &r)
pc.LockCheckRethrowError();
} catch (...) {
r.Format(COMMAND_STATUS_ERROR ": %s\n",
- FullMessage(std::current_exception()).c_str());
+ GetFullMessage(std::current_exception()).c_str());
}
song = playlist.GetNextPosition();