From f355fb31354435bd3e7cd93209d2c9f40b167156 Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Sun, 14 Jul 2019 13:50:33 -0700 Subject: [PATCH] modules/m_vm: Minor formatting fix. --- modules/m_vm.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/m_vm.cc b/modules/m_vm.cc index e8ac4888f..3be9ddb8d 100644 --- a/modules/m_vm.cc +++ b/modules/m_vm.cc @@ -599,7 +599,7 @@ catch(const m::error &e) // GENERAL MATRIX ERROR return handle_error ( *eval.opts, fault::GENERAL, - "eval %s (General Protection): %s %s :%s", + "eval %s (General Protection) :%s %s :%s", event.event_id? string_view{event.event_id}: ""_sv, e.what(), unquote(json::object(e.content).get("errcode")), @@ -621,7 +621,7 @@ catch(const std::exception &e) // ALL OTHER ERRORS return handle_error ( *eval.opts, fault::GENERAL, - "eval %s (General Protection): %s", + "eval %s (General Protection) :%s", event.event_id? string_view{event.event_id}: ""_sv, e.what() );