From 191bb8b5e48cc7d99efa874bc24316b0daf6b99e Mon Sep 17 00:00:00 2001 From: Thomas Date: Thu, 8 Nov 2018 12:20:13 +0100 Subject: [PATCH] For debugging purposes --- Adapter.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Adapter.cc b/Adapter.cc index 881d993..e71170f 100644 --- a/Adapter.cc +++ b/Adapter.cc @@ -21,7 +21,8 @@ namespace pEp { if (status == PEP_ILLEGAL_VALUE) throw invalid_argument("illegal value"); - throw RuntimeError(status_to_string(status), status); + string _status = status_to_string(status); + throw RuntimeError(_status, status); } RuntimeError::RuntimeError(const std::string& _text, PEP_STATUS _status)