You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2015/06/06 17:43:46 UTC

camel git commit: Camel-AWS EC2: Change Producer error messages

Repository: camel
Updated Branches:
  refs/heads/master d4cb80320 -> 5f44bb979


Camel-AWS EC2: Change Producer error messages


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/5f44bb97
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/5f44bb97
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/5f44bb97

Branch: refs/heads/master
Commit: 5f44bb979ec3198e20ff989a2b02eda8c133d266
Parents: d4cb803
Author: Andrea Cosentino <an...@gmail.com>
Authored: Sat Jun 6 17:42:47 2015 +0200
Committer: Andrea Cosentino <an...@gmail.com>
Committed: Sat Jun 6 17:42:47 2015 +0200

----------------------------------------------------------------------
 .../java/org/apache/camel/component/aws/ec2/EC2Producer.java   | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/5f44bb97/components/camel-aws/src/main/java/org/apache/camel/component/aws/ec2/EC2Producer.java
----------------------------------------------------------------------
diff --git a/components/camel-aws/src/main/java/org/apache/camel/component/aws/ec2/EC2Producer.java b/components/camel-aws/src/main/java/org/apache/camel/component/aws/ec2/EC2Producer.java
index 0d848e3..3e9a0bc 100644
--- a/components/camel-aws/src/main/java/org/apache/camel/component/aws/ec2/EC2Producer.java
+++ b/components/camel-aws/src/main/java/org/apache/camel/component/aws/ec2/EC2Producer.java
@@ -164,7 +164,7 @@ public class EC2Producer extends DefaultProducer {
         try {
             result = ec2Client.startInstances(request);
         } catch (AmazonServiceException ase) {
-            LOG.trace("Run Instances command returned the error code {}", ase.getErrorCode());
+            LOG.trace("Start Instances command returned the error code {}", ase.getErrorCode());
             throw ase;
         }
         exchange.getIn().setBody(result);        
@@ -183,7 +183,7 @@ public class EC2Producer extends DefaultProducer {
         try {
             result = ec2Client.stopInstances(request);
         } catch (AmazonServiceException ase) {
-            LOG.trace("Run Instances command returned the error code {}", ase.getErrorCode());
+            LOG.trace("Stop Instances command returned the error code {}", ase.getErrorCode());
             throw ase;
         }
         exchange.getIn().setBody(result);        
@@ -202,7 +202,7 @@ public class EC2Producer extends DefaultProducer {
         try {
             result = ec2Client.terminateInstances(request);
         } catch (AmazonServiceException ase) {
-            LOG.trace("Run Instances command returned the error code {}", ase.getErrorCode());
+            LOG.trace("Terminate Instances command returned the error code {}", ase.getErrorCode());
             throw ase;
         }
         exchange.getIn().setBody(result);