forked from I2P_Developers/i2p.i2p
i2psnark: Error message improvements
This commit is contained in:
@ -467,7 +467,7 @@ public class Snark
|
|||||||
try { storage.close(); } catch (IOException ioee) {
|
try { storage.close(); } catch (IOException ioee) {
|
||||||
ioee.printStackTrace();
|
ioee.printStackTrace();
|
||||||
}
|
}
|
||||||
fatal("Could not check or create storage", ioe);
|
fatal("Could not check or create storage for " + getBaseName(), ioe);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -609,7 +609,7 @@ public class Snark
|
|||||||
try { storage.close(); } catch (IOException ioee) {
|
try { storage.close(); } catch (IOException ioee) {
|
||||||
ioee.printStackTrace();
|
ioee.printStackTrace();
|
||||||
}
|
}
|
||||||
fatal("Could not reopen storage", ioe);
|
fatal("Could not reopen storage for " + getBaseName(), ioe);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
trackerclient.start();
|
trackerclient.start();
|
||||||
@ -655,7 +655,8 @@ public class Snark
|
|||||||
try {
|
try {
|
||||||
storage.close();
|
storage.close();
|
||||||
} catch (IOException ioe) {
|
} catch (IOException ioe) {
|
||||||
System.out.println("Error closing " + torrent);
|
if (_log.shouldWarn())
|
||||||
|
_log.warn("Error closing " + torrent);
|
||||||
ioe.printStackTrace();
|
ioe.printStackTrace();
|
||||||
}
|
}
|
||||||
savedUploaded = nowUploaded;
|
savedUploaded = nowUploaded;
|
||||||
@ -1255,7 +1256,7 @@ public class Snark
|
|||||||
}
|
}
|
||||||
// TODO we're still in an inconsistent state, won't work if restarted
|
// TODO we're still in an inconsistent state, won't work if restarted
|
||||||
// (PeerState "disconnecting seed that connects to seeds"
|
// (PeerState "disconnecting seed that connects to seeds"
|
||||||
fatal("Could not create data files", ioe);
|
fatal("Could not create data files for " + getBaseName(), ioe);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user