-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Closed as not planned
Labels
Description
Hello,
When you start the web server with osrm-routed and a file is missing, then you get a precise information (via Log::Warning)
However, when you use the libosrm, then you get only the general message:
"Required files are missing, cannot continue. Have all the "
"pre-processing steps been run?"
and you don't know which file is missing.
I'm wondering it could be worth file to change
bool IOConfig::IsValid()
to something like
bool IOConfig::IsValid(vector&<string> missingFiles)
(or equivalently, change the return type of the IsValid method). That way, we could add that to the exception text that is thrown by OSRM.
What do you think?
If you think the idea is fine, I'll try to do it and open a PR.
Thanks.
Rafael