mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-02 06:28:54 +00:00
Don't ignored copy exception
This commit is contained in:
1 parent
32f5802208
commit
74e51330af
1 file changed
+2
-1
@@ -78,7 +78,8 @@ public class ConfigLoader<L extends AbstractConfigurationLoader<CommentedConfigu
|
||||
public @NonNull File copyFileToDataDir(final @NonNull InputStream source, final @NonNull File file) {
|
||||
try {
|
||||
Files.copy(source, file.toPath());
|
||||
} catch (final IOException ignored) {
|
||||
} catch (final IOException ex) {
|
||||
ex.printStackTrace();
|
||||
}
|
||||
|
||||
return file;
|
||||
|
||||
Reference in new issue
Block a user