Deltares / Fm2Prof

https://deltares.github.io/Fm2Prof/
GNU General Public License v3.0
2 stars 0 forks source link

If cross-section file not found, error message is not informative #47

Closed kdberends closed 1 year ago

kdberends commented 1 year ago

Pointer to non-existing file in config file raise following error:

╔═════╣ 2022-12-21 09:45 Starting new task: Initialising FM2PROF ║ WARNING T+ 0.00s File for CrossSectionLocationFile not found at ║ ERROR T+ 0.00s Unexpected exception during initialisation

The log file suggest no input is given, even if there is. This confuses user. Solution: print out the user-given filepath

kdberends commented 1 year ago

implement fix in branch feature/modifycss

kdberends commented 1 year ago

Error will be thrown if user ignores error during initializatiadd -uon and tries to run anyway.