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

Wrong usage of Board Editor CLI leads to SIGABRT instead of error message #744

Open
alex-fu27 opened this issue Sep 24, 2023 · 1 comment

Comments

@alex-fu27
Copy link

I ran into this here: #743
The usage of the Board Editor is horizon-imp -b <board file> <block file> <via directory> and if one does not specify all of the files, this leads to:

terminate called after throwing an instance of 'std::out_of_range'
  what():  vector::_M_range_check: __n (which is 1) >= this->size() (which is 1)

from src/core/core_board.hpp:15.

It would be nice to have an error message here that gives the correct usage.

@carrotIndustries
Copy link
Member

I'm happy to merge a PR for this, but this isn't a top priority for me since it's only used for debugging and development.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants