[nostalgia/studio] Replace Editor opening error logging with oxErrorf

This commit is contained in:
Gary Talent 2022-02-17 04:27:04 -06:00
parent 21d12fee94
commit 3c44c86e91

View File

@ -39,7 +39,10 @@ StudioUI::StudioUI(core::Context *ctx) noexcept {
if (!err) {
oxIgnoreError(openProject(config.projectPath));
for (const auto &f : config.openFiles) {
oxLogError(openFile(f));
auto err = openFile(f);
if (err) {
oxErrorf("Could not open editor: {}\n", err.msg);
}
}
} else {
if (err.msg) {