Report the actual error

This commit is contained in:
TennesseeTrash 2025-06-08 18:36:49 +02:00
parent 6c784abd5d
commit 0fcb1d62df

View file

@ -16,7 +16,7 @@ int main(const int argc, const char *argv[])
Kanimaji::AnimateFile(argv[1], argv[2]);
}
catch (const std::exception& e) {
std::println("Could not animate {}: {}", argv[1], argv[2]);
std::println("Could not animate {}: {}", argv[1], e.what());
return 1;
}