Subversion Repositories HomeAutomation

Rev

Rev 1603 | Rev 1608 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed

Rev 1603 Rev 1604
Line 91... Line 91...
91
    if (this->functions_.find(name) == this->functions_.end())
91
    if (this->functions_.find(name) == this->functions_.end())
92
    {
92
    {
93
        LOG.Error("No such function found, " + name);
93
        LOG.Error("No such function found, " + name);
94
        return;
94
        return;
95
    }
95
    }
96
   
96
 
97
    Value result = this->functions_[name]->Call(this->context_->Global(), arguments->size(), arguments->data());
97
    Value result = this->functions_[name]->Call(this->context_->Global(), arguments->size(), arguments->data());
98
   
98
   
99
    if (result.IsEmpty())
99
    if (result.IsEmpty())
100
    {
100
    {
101
        LOG.Error(this->FormatException(try_catch));
101
        LOG.Error(this->FormatException(try_catch));