better error string
This commit is contained in:
parent
ade1b4ea74
commit
54cd23433d
@ -111,7 +111,7 @@ template<typename T>
|
||||
static auto plug_resolveInstance(const SolanaAPI* solana_api, const char* id, const char* version) {
|
||||
auto res = plug_resolveInstanceOptional<T>(solana_api, id, version);
|
||||
if (res == nullptr) {
|
||||
throw ResolveException{"missing " + std::string{id} + " " + version};
|
||||
throw ResolveException{"missing '" + std::string{id} + "' version '" + version + "'"};
|
||||
}
|
||||
return res;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user