mirror of
https://github.com/Poniverse/Pony.fm.git
synced 2024-11-25 14:37:59 +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();
|
||||
|
||||
} catch (ProcessFailedException $e) {
|
||||
} catch (\Exception $e) {
|
||||
$track->delete();
|
||||
throw $e;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue