mirror of
https://github.com/samsonjs/media.git
synced 2026-04-03 10:55:48 +00:00
Add exception cause to thrown exception
PiperOrigin-RevId: 509473556
(cherry picked from commit 08cf6db305)
This commit is contained in:
parent
89acf3cf08
commit
52d5ff466c
1 changed files with 1 additions and 1 deletions
|
|
@ -103,7 +103,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…
Reference in a new issue