diff --git a/src/nostalgia/studio/main.cpp b/src/nostalgia/studio/main.cpp index 44684a1a..347b1981 100644 --- a/src/nostalgia/studio/main.cpp +++ b/src/nostalgia/studio/main.cpp @@ -32,12 +32,7 @@ static ox::Error run(ox::UniquePtr fs) noexcept { oxRequireM(ctx, core::init(std::move(fs), "NostalgiaStudio")); core::setWindowTitle(ctx.get(), "Nostalgia Studio"); core::setEventHandler(ctx.get(), eventHandler); - ox::UniquePtr ui; - try { - ui = ox::make_unique(ctx.get()); - } catch (ox::Exception &ex) { - return ex.toError(); - } + auto ui = ox::make_unique(ctx.get()); StudioUIDrawer drawer(ui.get()); ctx->setCustomData(ui.get()); ctx->drawers.emplace_back(&drawer);