forked from I2P_Developers/i2p.i2p
PrintWriter doesn't throw exceptions, so call checkError()
This commit is contained in:
@@ -112,6 +112,8 @@ public class SubscriptionsBean extends BaseBean
|
||||
out.println(url);
|
||||
}
|
||||
out.close();
|
||||
if (out.checkError())
|
||||
throw new IOException("Failed write to " + file);
|
||||
} catch (IOException e) {
|
||||
// TODO Auto-generated catch block
|
||||
e.printStackTrace();
|
||||
|
Reference in New Issue
Block a user