diff --git a/indra/newview/llviewerwindow.cpp b/indra/newview/llviewerwindow.cpp index 83113cbc054ad30c28d2eca9d48abd872d9a3745..66fac588b4dcc5083f458a8917c6b037c0bca1b8 100644 --- a/indra/newview/llviewerwindow.cpp +++ b/indra/newview/llviewerwindow.cpp @@ -4859,6 +4859,11 @@ void LLViewerWindow::saveImageLocal(LLImageFormatted *image, const snapshot_save if (ec.failed()) { LL_WARNS() << "Failed check for is directory for filesystem path " << lastSnapshotDir << " : " << ec.message() << LL_ENDL; + LLSD args; + args["PATH"] = lastSnapshotDir; + LLNotificationsUtil::add("SnapshotToLocalDirNotExist", args); + resetSnapshotLoc(); + failure_cb(); return; } if (!is_dir) @@ -4874,6 +4879,11 @@ void LLViewerWindow::saveImageLocal(LLImageFormatted *image, const snapshot_save if (ec.failed()) { LL_WARNS() << "Failed to read disk space for filesystem path " << lastSnapshotDir << " : " << ec.message() << LL_ENDL; + LLSD args; + args["PATH"] = lastSnapshotDir; + LLNotificationsUtil::add("SnapshotToLocalDirNotExist", args); + resetSnapshotLoc(); + failure_cb(); return; } if (b_space.free < image->getDataSize())