mirror of
https://e.coding.net/circlecloud/Yum.git
synced 2024-12-23 05:08:47 +00:00
check all exception...
Signed-off-by: 502647092 <jtb1@163.com>
This commit is contained in:
parent
77e10e87c6
commit
0669722000
@ -6,7 +6,6 @@ package cn.citycraft.Yum.utils;
|
||||
import java.io.BufferedInputStream;
|
||||
import java.io.File;
|
||||
import java.io.FileOutputStream;
|
||||
import java.io.IOException;
|
||||
import java.net.URL;
|
||||
|
||||
import org.bukkit.Bukkit;
|
||||
@ -60,7 +59,7 @@ public class DownloadUtils {
|
||||
in.close();
|
||||
fout.close();
|
||||
}
|
||||
} catch (IOException ex) {
|
||||
} catch (Exception ex) {
|
||||
sender.sendMessage("关闭数据流时发生错误!");
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user