medic / test-data-generator

Tool to upload test data into CHT test instances.
GNU General Public License v3.0
2 stars 2 forks source link

Provide clear error when the parameter does not point to a design file #4

Closed jkuester closed 8 months ago

jkuester commented 8 months ago

Currently we just try to require the design file from the user-provided parameter without checking to see if it even exists. This results in a difficult to understand Node error. We should check and see if the file is real and provide a clear error if there is no file.

latin-panda commented 8 months ago

Thank you. On this!