inbo / protocolhelper

Helper functions and templates to manage the INBO/protocols repository.
https://inbo.github.io/protocolhelper/
GNU General Public License v3.0
5 stars 0 forks source link

Small remark on error message #86

Closed ElsLommelen closed 1 year ago

ElsLommelen commented 2 years ago

When running function get_path_to_protocol(), I was surprised to get the error message Provide a short title when I apparently did not give an existing path (due to a coding mistake). It would be helpful to precede this error message with The provided path does not exist. or something similar that makes users aware of the fact that the message is dropped because they made a mistake in the path. If they understand this, they can opt to correct the path name or give a short title instead.

hansvancalster commented 2 years ago

Good point. I have improved the error message (the change will be in v0.4.1).