崩溃问题

This commit is contained in:
张玉久
2020-01-15 19:56:30 +08:00
parent 080ac5f1d5
commit 374610dbc0
4 changed files with 30 additions and 14 deletions

View File

@ -165,7 +165,7 @@ public class CacheManager {
}
fileOutputStream.flush();
getDownCalls().remove(url);
} catch (IOException ex) {
} catch (Exception ex) {
ex.printStackTrace();
} finally {
if (is != null) {
@ -202,7 +202,7 @@ public class CacheManager {
response.close();
return contentLength == 0 ? CacheInfo.TOTAL_ERROR : contentLength;
}
} catch (IOException e) {
} catch (Exception e) {
e.printStackTrace();
}
return CacheInfo.TOTAL_ERROR;