LM-UGent / GenDisCal

Other
6 stars 0 forks source link

Better error messages #1

Closed MrTomRod closed 3 years ago

MrTomRod commented 4 years ago

Hi!

I really like your tool and how incredibly fast it is!

I noticed three small issues:

In all of these cases, I would have preferred an error message and exit status 1. (Better design by contract.) It would also be nice if the error message could specify what went wrong.

This would make automatizing it easier because errors would be catched earlier. I now have to write code that checks if the output is valid.

GlebGoussarov commented 3 years ago

Apologies for the incredibly late reply. I somehow missed your message. To adress the comments in order:

For the "bad" error messages, I am currently working on a massive redesign which should prevent these kinds of issues.

MrTomRod commented 3 years ago

Cool, thanks! Looking forward to future versions!