diff options
| -rw-r--r-- | NPTest.pm | 6 |
1 files changed, 1 insertions, 5 deletions
| @@ -17,8 +17,6 @@ use File::Basename; | |||
| 17 | 17 | ||
| 18 | use JSON; | 18 | use JSON; |
| 19 | 19 | ||
| 20 | use Try::Tiny; | ||
| 21 | |||
| 22 | use IO::File; | 20 | use IO::File; |
| 23 | use Data::Dumper; | 21 | use Data::Dumper; |
| 24 | 22 | ||
| @@ -621,9 +619,7 @@ sub testCmd { | |||
| 621 | chomp $output; | 619 | chomp $output; |
| 622 | $object->output($output); | 620 | $object->output($output); |
| 623 | 621 | ||
| 624 | try { | 622 | eval { $object->{'mp_test_result'} = decode_json($output) }; |
| 625 | $object->{'mp_test_result'} = decode_json($output); | ||
| 626 | }; | ||
| 627 | 623 | ||
| 628 | alarm(0); | 624 | alarm(0); |
| 629 | 625 | ||
