[nostalgia/player] Make error output actually check for error
This commit is contained in:
parent
eed240eacc
commit
65a179e314
@ -36,6 +36,8 @@ int main(int argc, const char **argv) {
|
||||
ox::Error err;
|
||||
err = run(argc, argv);
|
||||
oxAssert(err, "Something went wrong...");
|
||||
oxErrf("Failure: {}\n", toStr(err));
|
||||
if (err) {
|
||||
oxErrf("Failure: {}\n", toStr(err));
|
||||
}
|
||||
return static_cast<int>(err);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user