make error message useful

This commit is contained in:
呼啸随风 2022-03-19 20:41:03 +08:00 committed by GitHub
parent 1a21665121
commit 93d7321f96
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -142,7 +142,7 @@ class MoveTorrent extends AutoReseed
}
if (!is_file($torrentPath)) {
echo $help_msg;
die("clients_".$k."种子文件{$torrentPath}不存在,无法完成转移!");
die("clients_".$k."`{$move[$info_hash]['name']}`种子文件`{$torrentPath}`不存在,无法完成转移!");
}
echo '存在种子:'.$torrentPath.PHP_EOL;
$torrent = file_get_contents($torrentPath);