[nostalgia/studio] Make file open error report which file failed to open

This commit is contained in:
Gary Talent 2023-05-30 19:54:23 -05:00
parent 78eeb30b15
commit 79e6838ab3

View File

@ -45,7 +45,7 @@ StudioUI::StudioUI(core::Context *ctx) noexcept {
for (const auto &f : config.openFiles) {
auto openFileErr = openFileActiveTab(f, config.activeTabItemName == f);
if (openFileErr) {
oxErrorf("Could not open editor: {}\n", toStr(openFileErr));
oxErrorf("\nCould not open editor for file:\n\t{}\nReason:\n\t{}\n", f, toStr(openFileErr));
}
}
} else {