[nostalgia/studio] Replace Editor opening error logging with oxErrorf
This commit is contained in:
parent
21d12fee94
commit
3c44c86e91
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user