refactor: type and name of catch exception should match

This commit is contained in:
HDVinnie
2021-05-15 14:01:27 -04:00
parent bd6008a900
commit 041927202c
10 changed files with 18 additions and 21 deletions
@@ -84,7 +84,7 @@ class TorrentController extends BaseController
try {
$meta = Bencode::get_meta($decodedTorrent);
} catch (\Exception $e) {
} catch (\Exception $exception) {
return $this->sendError('Validation Error.', 'You Must Provide A Valid Torrent File For Upload!');
}