[nostalgia] Fix oxPanic parameter order

This commit is contained in:
2020-02-16 02:06:05 -06:00
parent da3c9107db
commit 1269ee7fad
5 changed files with 11 additions and 9 deletions

View File

@@ -52,7 +52,7 @@ int main(int argc, const char **args) {
try {
run(ox::ClArgs(argc, args));
} catch (const ox::Error &err) {
oxPanic("pack failed", err);
oxPanic(err, "pack failed");
std::cerr << "pack failed...\n";
return static_cast<int>(err);
}