More info in torrentFileModtimes, fix #892
This commit is contained in:
@@ -127,6 +127,7 @@ module.exports = class TorrentController {
|
|||||||
|
|
||||||
torrentFileModtimes (torrentKey, fileModtimes) {
|
torrentFileModtimes (torrentKey, fileModtimes) {
|
||||||
const torrentSummary = this.getTorrentSummary(torrentKey)
|
const torrentSummary = this.getTorrentSummary(torrentKey)
|
||||||
|
if (!torrentSummary) throw new Error('Not saving modtimes for deleted torrent ' + torrentKey)
|
||||||
torrentSummary.fileModtimes = fileModtimes
|
torrentSummary.fileModtimes = fileModtimes
|
||||||
dispatch('saveStateThrottled')
|
dispatch('saveStateThrottled')
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user