Skip to content

Commit

Permalink
Friendlier error message if Engine export fails for track
Browse files Browse the repository at this point in the history
  • Loading branch information
mr-smidge committed Jul 30, 2024
1 parent 9b31059 commit f7fdf3b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/library/export/engineprimeexportjob.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -563,7 +563,9 @@ void EnginePrimeExportJob::run() {
qWarning() << "Failed to export track"
<< m_pLastLoadedTrack->getId().toString() << ":"
<< e.what();
m_lastErrorMessage = e.what();
m_lastErrorMessage =
"Failed to export track " % m_pLastLoadedTrack->getArtist() %
" - " % m_pLastLoadedTrack->getTitle() % ":\n" % e.what();
emit failed(m_lastErrorMessage);
return;
}
Expand Down

0 comments on commit f7fdf3b

Please sign in to comment.