You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In order to not break ABI compatibility, we'll want to add a new function here - the return type isn't included in function resolution (see https://en.cppreference.com/w/cpp/language/adl).
My suggestion would be to add a new method called vector&<string> GetMissingFiles() - this could be afterIsValid() returns false, and the error message could be augmented if the list is non-empty.
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:
and you don't know which file is missing.
I'm wondering it could be worth file to change
to something like
(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
The text was updated successfully, but these errors were encountered: