Permalink
Browse files

Merge pull request #477 from revans2/uris-in-error

Added in a list of resources to the Exception message.
  • Loading branch information...
2 parents bcd8688 + 0d8f40d commit 64c3b96d19e9be28eca010026b90792acfedaa23 @nathanmarz nathanmarz committed Feb 15, 2013
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/jvm/backtype/storm/utils/Utils.java
@@ -112,7 +112,8 @@ public static Map findAndReadConfigFile(String name, boolean mustExist) {
else return new HashMap();
}
if(resources.size() > 1) {
- throw new RuntimeException("Found multiple " + name + " resources. You're probably bundling the Storm jars with your topology jar.");
+ throw new RuntimeException("Found multiple " + name + " resources. You're probably bundling the Storm jars with your topology jar. "
+ + resources);
}
URL resource = resources.get(0);
Yaml yaml = new Yaml();

0 comments on commit 64c3b96

Please sign in to comment.