Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Panic on unexpected argument provided #728

Closed
sdsznsk opened this issue Aug 5, 2024 · 0 comments · Fixed by #731
Closed

Panic on unexpected argument provided #728

sdsznsk opened this issue Aug 5, 2024 · 0 comments · Fixed by #731
Labels
bug Something isn't working

Comments

@sdsznsk
Copy link

sdsznsk commented Aug 5, 2024

Tools (complete and add to the following information):

  • HEMTT: 1.12.4
  • Operating System: Windows

Description:
When providing an unexpected parameter into hemtt main binary, it's panicking instead of graceful exit with help.

Steps to reproduce:

  1. Download hemtt
  2. Run hemtt -v

Expected behavior:
Graceful exit with an error message stating that unexpected argument was provided

Logs:
ERROR panicked at bin\src\lib.rs:146:14:

PS G:\> hemtt -v
ERROR panicked at bin\src\lib.rs:146:14:
internal error: entered unreachable code

Oh no! HEMTT has crashed!
This is a bug in HEMTT itself, not necessarily your project.
Even if there is a bug in your project, HEMTT should not crash, but gracefully exit with an error message.

Support for HEMTT can be found on:
GitHub (https://github.com/BrettMayson/HEMTT)
#hemtt on the ACE 3 Discord (https://acemod.org/discord)

The log from the most recent run can be found in `.hemttout/latest.log`.

It is always best to the include the log and a link to your project when reporting a bug, this will help reproduce the issue.

Additional context:
Just a small issue but submitting it just in case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant