seed bonus add log etc

This commit is contained in:
xiaomlove
2025-09-08 03:05:55 +07:00
parent ae08039323
commit 60b5aba518
53 changed files with 720 additions and 131 deletions

View File

@@ -169,6 +169,7 @@ class UploadRepository extends BaseRepository
throw new NexusException(nexus_trans('upload.missing_torrent_file'));
}
if (!$file->isValid()) {
do_log("torrent file is invalid: " . nexus_json_encode($_FILES), 'error');
throw new NexusException("upload torrent file error");
}
$size = $file->getSize();