[nostalgia/player] Make error output actually check for error

This commit is contained in:
Gary Talent 2023-12-09 10:36:38 -06:00
parent eed240eacc
commit 65a179e314

View File

@ -36,6 +36,8 @@ int main(int argc, const char **argv) {
ox::Error err;
err = run(argc, argv);
oxAssert(err, "Something went wrong...");
if (err) {
oxErrf("Failure: {}\n", toStr(err));
}
return static_cast<int>(err);
}