mirror of
https://github.com/Poniverse/Pony.fm.git
synced 2024-11-25 14:37:59 +01:00
Only log ffmpeg output if encoding fails.
This commit is contained in:
parent
0eb96f0e83
commit
4394d0131b
1 changed files with 1 additions and 2 deletions
|
@ -128,10 +128,9 @@ class EncodeTrackFile extends Job implements SelfHandling, ShouldQueue
|
|||
$process->mustRun();
|
||||
} catch (ProcessFailedException $e) {
|
||||
Log::error('An exception occured in the encoding process for track file ' . $this->trackFile->id . ' - ' . $e->getMessage());
|
||||
Log::info($process->getOutput());
|
||||
// Ensure queue fails
|
||||
throw $e;
|
||||
} finally {
|
||||
Log::info($process->getOutput());
|
||||
}
|
||||
|
||||
// Update the tags of the track
|
||||
|
|
Loading…
Reference in a new issue