mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-06-14 19:19:59 -04:00
Use Try::Tiny instead of experimental feature
This commit is contained in:
parent
18dedf3463
commit
f227543178
1 changed files with 2 additions and 2 deletions
|
|
@ -17,7 +17,7 @@ use File::Basename;
|
|||
|
||||
use JSON;
|
||||
|
||||
use feature 'try';
|
||||
use Try::Tiny;
|
||||
|
||||
use IO::File;
|
||||
use Data::Dumper;
|
||||
|
|
@ -623,7 +623,7 @@ sub testCmd {
|
|||
|
||||
try {
|
||||
$object->{'mp_test_result'} = decode_json($output);
|
||||
}
|
||||
};
|
||||
|
||||
alarm(0);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue