Browse Source

For debugging purposes

sync
Thomas 4 years ago
parent
commit
191bb8b5e4
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      Adapter.cc

+ 2
- 1
Adapter.cc View File

@ -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)


Loading…
Cancel
Save