Skip to content

Commit

Permalink
Update t/02_live.t for return_errors
Browse files Browse the repository at this point in the history
  • Loading branch information
jadeallenx committed Aug 10, 2012
1 parent 15a564c commit 8e0e02b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions t/02_live.t
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,15 @@ my $ec2 = eval {
SecretAccessKey => $ENV{SECRET_ACCESS_KEY},
ssl => 1,
debug => 0,
return_errors => 1,
);
};

$ec2 = Net::Amazon::EC2->new(
AWSAccessKeyId => $ENV{AWS_ACCESS_KEY_ID},
SecretAccessKey => $ENV{SECRET_ACCESS_KEY},
debug => 0,
return_errors => 1,
) if $@;

isa_ok($ec2, 'Net::Amazon::EC2');
Expand Down

0 comments on commit 8e0e02b

Please sign in to comment.