caffo/roam-to-git

Update --debug to check for browser in path

Closed this issue · 5 comments

caffo commented

Depends on #9

Ensure --debug checks for a browser and tell the user to use --browser-path or add a browser to their path.

Created a PR for this #15

I had closed this before seeing your response since you have merged #15 to master this has been fixed

caffo commented
<datetime> | DEBUG    | roam_to_git.__main__:main:97 - use --browser-path <browser_path> to specify a browser path
<datetime> | ERROR    | roam_to_git.__main__:main:98 - Please specify a firefox/chrome browser path

Debug should say something like

Browser not detected. Please have one in your path or use --browser-path <browser_path> to specify it.

This should be reolved with #16

Kindly review this on the #16
Test are now passing a well