mirror of
https://github.com/Poniverse/Pony.fm.git
synced 2025-03-29 06:17:46 +01:00
Revert to catch Exception in UploadTrackCommand
This commit is contained in:
parent
c651c44d34
commit
683aa568e9
1 changed files with 1 additions and 1 deletions
|
@ -160,7 +160,7 @@ class UploadTrackCommand extends CommandBase
|
||||||
|
|
||||||
$track->updateTags();
|
$track->updateTags();
|
||||||
|
|
||||||
} catch (ProcessFailedException $e) {
|
} catch (\Exception $e) {
|
||||||
$track->delete();
|
$track->delete();
|
||||||
throw $e;
|
throw $e;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue