[utilities COMMIT] /spring-extensions/trunk/src/main/java/net/shibboleth/ext/spring/resource/FileBackedHTTPResource.java
noreply at shibboleth.net
noreply at shibboleth.net
Wed Jul 22 18:58:32 EDT 2015
Author: putmanb
Date: Wed Jul 22 18:58:31 2015
New Revision: 810
URL: http://svn.shibboleth.net/view/utilities?rev=810&view=rev
Log:
IDP-776: Add exception debug logging
Critical exception was being swallowed, add debug logging.
Modified:
spring-extensions/trunk/src/main/java/net/shibboleth/ext/spring/resource/FileBackedHTTPResource.java
Modified: spring-extensions/trunk/src/main/java/net/shibboleth/ext/spring/resource/FileBackedHTTPResource.java
URL: http://svn.shibboleth.net/view/utilities/spring-extensions/trunk/src/main/java/net/shibboleth/ext/spring/resource/FileBackedHTTPResource.java?rev=810&r1=809&r2=810&view=diff
==============================================================================
--- spring-extensions/trunk/src/main/java/net/shibboleth/ext/spring/resource/FileBackedHTTPResource.java (original)
+++ spring-extensions/trunk/src/main/java/net/shibboleth/ext/spring/resource/FileBackedHTTPResource.java Wed Jul 22 18:58:31 2015
@@ -117,6 +117,7 @@
final InputStream stream = super.getInputStream();
return saveAndClone(stream);
} catch (IOException ex) {
+ log.debug("{} Error obtaining HTTPResource InputStream or creating backing file", getDescription(), ex);
log.warn("{} HTTP resource was inaccessible for getInputStream(), trying backing file.",
getDescription());
try {
More information about the commits
mailing list