Skip to content
Permalink
Browse files
[JENKINS-21497] Fixed a wrong error message when failed to instantiat…
…e a publisher.
  • Loading branch information
ikedam committed Jan 28, 2014
1 parent 89d3a24 commit 9145b7c4efeed18c0df027f8e378ce099edda8e4
Showing 1 changed file with 1 addition and 1 deletion.
@@ -261,7 +261,7 @@ private BuildStep bindJSONWithDescriptor(StaplerRequest req, JSONObject formData
return (BuildStep)d.newInstance(req, formData);
} catch(ClassNotFoundException e) {
throw new FormException(
String.format("Failed to instantiate %s", clazz),
String.format("Failed to instantiate: class not found %s", clazzName),
e,
fieldName
);

0 comments on commit 9145b7c

Please sign in to comment.