From 866edf88011b97bf4c2d5a6dda49374ccaa602e5 Mon Sep 17 00:00:00 2001 From: Leland Lucius Date: Wed, 1 Apr 2020 15:53:47 -0500 Subject: [PATCH] Provide useful path to FileException --- src/xml/XMLWriter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xml/XMLWriter.cpp b/src/xml/XMLWriter.cpp index d97160dda..9bf1a9281 100644 --- a/src/xml/XMLWriter.cpp +++ b/src/xml/XMLWriter.cpp @@ -301,7 +301,7 @@ XMLFileWriter::XMLFileWriter( { auto tempPath = wxFileName::CreateTempFileName( outputPath ); if (!wxFFile::Open(tempPath, wxT("wb")) || !IsOpened()) - ThrowException( tempPath, mCaption ); + ThrowException( outputPath, mCaption ); if (mKeepBackup) { int index = 0;