Revert to catch Exception in UploadTrackCommand

This commit is contained in:
Kelvin Zhang 2015-10-27 17:21:14 +00:00
parent c651c44d34
commit 683aa568e9

View file

@ -160,7 +160,7 @@ class UploadTrackCommand extends CommandBase
$track->updateTags();
} catch (ProcessFailedException $e) {
} catch (\Exception $e) {
$track->delete();
throw $e;
}