|
|
@ -22,20 +22,20 @@ my $anvil = Anvil::Tools->new(); |
|
|
|
|
|
|
|
|
|
|
|
sub handle_invalid_uuid |
|
|
|
sub handle_invalid_uuid |
|
|
|
{ |
|
|
|
{ |
|
|
|
my $parameters = shift; |
|
|
|
my $parameters = shift; |
|
|
|
my $name = $parameters->{name}; |
|
|
|
my $name = $parameters->{name}; |
|
|
|
my $uuid = $parameters->{uuid}; |
|
|
|
my $uuid = $parameters->{uuid}; |
|
|
|
|
|
|
|
|
|
|
|
$anvil->Log->entry({ |
|
|
|
$anvil->Log->entry({ |
|
|
|
source => $THIS_FILE, |
|
|
|
source => $THIS_FILE, |
|
|
|
line => __LINE__, |
|
|
|
line => __LINE__, |
|
|
|
level => 0, |
|
|
|
level => 0, |
|
|
|
'print' => 1, |
|
|
|
'print' => 1, |
|
|
|
priority => "err", |
|
|
|
priority => "err", |
|
|
|
key => "error_0160", |
|
|
|
key => "error_0160", |
|
|
|
variables => { name => $name, uuid => $uuid } |
|
|
|
variables => { name => $name, uuid => $uuid } |
|
|
|
}); |
|
|
|
}); |
|
|
|
$anvil->nice_exit({ exit_code => 1 }); |
|
|
|
$anvil->nice_exit({ exit_code => 1 }); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
sub set_anvil_power |
|
|
|
sub set_anvil_power |
|
|
|