1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-19 17:40:15 +02:00

Provide useful path to FileException

This commit is contained in:
Leland Lucius 2020-04-01 15:53:47 -05:00
parent ffc7452eba
commit 866edf8801

View File

@ -301,7 +301,7 @@ XMLFileWriter::XMLFileWriter(
{ {
auto tempPath = wxFileName::CreateTempFileName( outputPath ); auto tempPath = wxFileName::CreateTempFileName( outputPath );
if (!wxFFile::Open(tempPath, wxT("wb")) || !IsOpened()) if (!wxFFile::Open(tempPath, wxT("wb")) || !IsOpened())
ThrowException( tempPath, mCaption ); ThrowException( outputPath, mCaption );
if (mKeepBackup) { if (mKeepBackup) {
int index = 0; int index = 0;