mirror of
https://github.com/Icinga/icinga2.git
synced 2025-04-08 17:05:25 +02:00
parent
2e0a04bddb
commit
dd1cbb6fe7
@ -27,7 +27,7 @@ using namespace icinga;
|
||||
static Value ScriptFunctionCall(const std::vector<Value>& args)
|
||||
{
|
||||
if (args.size() < 1)
|
||||
BOOST_THROW_EXCEPTION(ScriptError("Too few arguments for call()"));
|
||||
BOOST_THROW_EXCEPTION(std::invalid_argument("Too few arguments for call()"));
|
||||
|
||||
ScriptFrame *vframe = ScriptFrame::GetCurrentFrame();
|
||||
ScriptFunction::Ptr self = static_cast<ScriptFunction::Ptr>(vframe->Self);
|
||||
|
Loading…
x
Reference in New Issue
Block a user