Add exception cause to thrown exception
PiperOrigin-RevId: 509473556 (cherry picked from commit 56803bf1ad3e4df2ebd8d7b38f5a9f4740dc702f)
This commit is contained in:
parent
cfe861ed89
commit
6a273a5f90
@ -105,7 +105,7 @@ public class DefaultDownloaderFactory implements DownloaderFactory {
|
||||
return constructor.newInstance(mediaItem, cacheDataSourceFactory, executor);
|
||||
} catch (Exception e) {
|
||||
throw new IllegalStateException(
|
||||
"Failed to instantiate downloader for content type " + contentType);
|
||||
"Failed to instantiate downloader for content type " + contentType, e);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user