Just use eval instead of Try::Tiny in tests

This commit is contained in:
Lorenz Kästle 2025-03-07 19:29:24 +01:00
parent 03b09f7ce0
commit ff8aa20d0e

View file

@ -17,8 +17,6 @@ use File::Basename;
use JSON;
use Try::Tiny;
use IO::File;
use Data::Dumper;
@ -621,9 +619,7 @@ sub testCmd {
chomp $output;
$object->output($output);
try {
$object->{'mp_test_result'} = decode_json($output);
};
eval { $object->{'mp_test_result'} = decode_json($output) };
alarm(0);