Durr, I are frodiwht. I are code.
This commit is contained in:
parent
edcf276a2f
commit
de55b02828
2 changed files with 1 additions and 2 deletions
|
|
@ -679,7 +679,7 @@ sub start {
|
|||
my $spectre = WebGUI::Workflow::Spectre->new($self->session);
|
||||
my $success = $spectre->notify("workflow/addInstance", {cookieName=>$self->session->config->getCookieName, gateway=>$self->session->config->get("gateway"), sitename=>$self->session->config->get("sitename")->[0], instanceId=>$self->getId, priority=>$self->{_data}{priority}});
|
||||
|
||||
return $success ? undef : WebGUI::International->new($self->session, "Macro_SpectreCheck")->get($spectreTest);
|
||||
return $success ? undef : 'Could not connect to spectre';
|
||||
}
|
||||
|
||||
1;
|
||||
|
|
|
|||
|
|
@ -82,7 +82,6 @@ sub notify {
|
|||
my $result = $remote->post($module, $params);
|
||||
return 1 if defined $result;
|
||||
$error->warn("Couldn't send command to Spectre because ".$POE::Component::IKC::ClientLite::error);
|
||||
}
|
||||
} else {
|
||||
$error->warn("Couldn't connect to Spectre because ".$POE::Component::IKC::ClientLite::error);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue