From a8440bb25839b18143779b6ad687a0f8f0eeb002 Mon Sep 17 00:00:00 2001 From: David Edmondson Date: Mon, 11 Sep 2023 11:47:42 +0100 Subject: [PATCH] mu: Fix "expected command" server error report --- lib/utils/mu-command-handler.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/utils/mu-command-handler.hh b/lib/utils/mu-command-handler.hh index 5d5f5f0c..e892266a 100644 --- a/lib/utils/mu-command-handler.hh +++ b/lib/utils/mu-command-handler.hh @@ -171,7 +171,7 @@ private: if (!listp() || empty() || !cbegin()->symbolp() || !plistp(cbegin() + 1, cend())) throw Error(Error::Code::Command, - "expected command, got '%s'", to_string().c_str()); + "expected command, got '{}'", to_string()); }