aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJulien Gouesse <[email protected]>2014-07-13 01:52:01 +0200
committerJulien Gouesse <[email protected]>2014-07-13 01:52:01 +0200
commit89862bbdfbe9bf0b7b3575e6adb07b4a86ce1588 (patch)
tree560aac7687b375f50a80c796496762caad4b1777
parent6b2c0dc9026965a22eb59a9b2242e47d98f14402 (diff)
Improves the logging message when a resource cannot be located, shows the expected resource type
-rw-r--r--ardor3d-core/src/main/java/com/ardor3d/util/resource/ResourceLocatorTool.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/ardor3d-core/src/main/java/com/ardor3d/util/resource/ResourceLocatorTool.java b/ardor3d-core/src/main/java/com/ardor3d/util/resource/ResourceLocatorTool.java
index 2fdc2cc..93b6597 100644
--- a/ardor3d-core/src/main/java/com/ardor3d/util/resource/ResourceLocatorTool.java
+++ b/ardor3d-core/src/main/java/com/ardor3d/util/resource/ResourceLocatorTool.java
@@ -69,11 +69,11 @@ public class ResourceLocatorTool {
return new URLResourceSource(u);
}
} catch (final Exception e) {
- logger.logp(Level.WARNING, ResourceLocatorTool.class.getName(), "locateResource(String, String)", e
- .getMessage(), e);
+ logger.logp(Level.WARNING, ResourceLocatorTool.class.getName(), "locateResource(String, String)",
+ e.getMessage(), e);
}
- logger.warning("Unable to locate: " + resourceName);
+ logger.warning("Unable to locate: " + resourceName + " of type " + resourceType);
return null;
}
}