You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by lb...@apache.org on 2017/08/03 06:54:37 UTC

camel git commit: CAMEL-11626 - Provide a value for the %d in String format

Repository: camel
Updated Branches:
  refs/heads/master 7996012d9 -> ad03244de


CAMEL-11626 - Provide a value for the %d in String format

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

Branch: refs/heads/master
Commit: ad03244de37b358b6caf26ae0bee21685730da25
Parents: 7996012
Author: Aurélien Pupier <ap...@redhat.com>
Authored: Thu Aug 3 08:39:23 2017 +0200
Committer: Aurélien Pupier <ap...@redhat.com>
Committed: Thu Aug 3 08:52:47 2017 +0200

----------------------------------------------------------------------
 .../org/apache/camel/component/servicenow/ServiceNowException.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/ad03244d/components/camel-servicenow/src/main/java/org/apache/camel/component/servicenow/ServiceNowException.java
----------------------------------------------------------------------
diff --git a/components/camel-servicenow/src/main/java/org/apache/camel/component/servicenow/ServiceNowException.java b/components/camel-servicenow/src/main/java/org/apache/camel/component/servicenow/ServiceNowException.java
index 42ffbac..6a5e0a9 100644
--- a/components/camel-servicenow/src/main/java/org/apache/camel/component/servicenow/ServiceNowException.java
+++ b/components/camel-servicenow/src/main/java/org/apache/camel/component/servicenow/ServiceNowException.java
@@ -36,7 +36,7 @@ public class ServiceNowException extends CamelException {
     }
 
     public ServiceNowException(Integer code, Map<Object, Object> attributes) {
-        super(String.format("Status (%d)"));
+        super(String.format("Status (%d)", code));
         this.code = code;
         this.status = null;
         this.detail = null;