Repository: camel
Updated Branches:
  refs/heads/camel-2.19.x e3d6d383b -> 38cca4242


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/38cca424
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/38cca424
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/38cca424

Branch: refs/heads/camel-2.19.x
Commit: 38cca42421cb6a7c2f41f447cdd8c18d4abfeaf1
Parents: e3d6d38
Author: Aurélien Pupier <apup...@redhat.com>
Authored: Thu Aug 3 08:39:23 2017 +0200
Committer: lburgazzoli <lburgazz...@gmail.com>
Committed: Thu Aug 3 08:55:55 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/38cca424/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;

Reply via email to