Better error message

This commit is contained in:
Alexandre Archambault 2015-12-30 01:34:49 +01:00
parent 7a8a626064
commit 340add13e7
1 changed files with 1 additions and 1 deletions

View File

@ -133,7 +133,7 @@ object Cache {
-\/(FileError.ConcurrentDownload(url))
}
catch { case e: Exception =>
-\/(FileError.DownloadError(e.getMessage))
-\/(FileError.DownloadError(s"Caught $e (${e.getMessage})"))
}
private def temporaryFile(file: File): File = {