Skip to content

Commit

Permalink
Merge pull request #32 from AntelopeIO/missing_plugin_name
Browse files Browse the repository at this point in the history
Fix missing plugin name in exception message when a plugin fails to initialize
  • Loading branch information
linh2931 authored May 18, 2024
2 parents d7a7580 + 601153f commit 215bcc9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion application_base.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -402,8 +402,10 @@ bool application_base::initialize_impl(int argc, char** argv, vector<abstract_pl
{
vector<string> names;
boost::split(names, arg, boost::is_any_of(" \t,"));
for(const std::string& name : names)
for(const std::string& name : names) {
plugin_name = name;
get_plugin(name).initialize(options);
}
}
}

Expand Down

0 comments on commit 215bcc9

Please sign in to comment.