-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Patch for PhotoAtWaypoint plugin. #2066
Conversation
Signed-off-by: jediofgever <[email protected]>
Signed-off-by: jediofgever <[email protected]>
Signed-off-by: jediofgever <[email protected]>
Signed-off-by: jediofgever <[email protected]>
Signed-off-by: jediofgever <[email protected]>
…rectory for photo at waypoint plugin Signed-off-by: jediofgever <[email protected]>
} | ||
} catch (const std::exception & e) { | ||
std::cerr << e.what() << '\n'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use proper logging please
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also if an exception was thrown, is_enabled_
should be false
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm unfortunately I have no longer access to my laptop after today(for an indefinite time). Could you take care of this for me please ?
Thank you
@jediofgever done, I need to open a new PR to merge in those changes since it was on your private fork |
See #2067 |
@SteveMacenski , thanks a lot , had some issues with my PC and sent it to service. |
Please review #2067 |
#2041 Introduced PhotoAtWaypoint plugin.
A directory path should be given to plugin for saving the photos. If the given directory does not exist we create one with
std::experimental::filesystem,
but this may throw exceptions if the given path is an invalid one. So a try catch block should surround that part of the code where we try to create directory.This PR has that.