external_signer: remove ExternalSignerException

It's not clear why this need it's own exception class, as opposed to just
throwing std::runtime_error().
This commit is contained in:
fanquake
2021-04-13 19:55:59 +08:00
parent 9e0b199b97
commit c8f469c6d5
3 changed files with 6 additions and 11 deletions

View File

@@ -49,7 +49,7 @@ static RPCHelpMan enumeratesigners()
signer_res.pushKV("name", signer.m_name);
signers_res.push_back(signer_res);
}
} catch (const ExternalSignerException& e) {
} catch (const std::exception& e) {
throw JSONRPCError(RPC_MISC_ERROR, e.what());
}
UniValue result(UniValue::VOBJ);