gnebbia / kb

A minimalist command line knowledge base manager
GNU General Public License v3.0
3.17k stars 104 forks source link

[Bug] Program fails to gracefully handle non-existent path for new artifact #55

Closed jmhickman closed 4 years ago

jmhickman commented 4 years ago

Expected Behavior

Printed error describing that the path indicated by the command doesn't exist.

Actual Behavior

Stack trace because shutil can't open a write handle to the file.

Steps to Reproduce the Problem

  1. After installing kb normally via pip and activating the aliases, run kba /doesnt/exist/path

Specifications

xscode-auto-reply[bot] commented 4 years ago

Thanks for opening a new issue. The team has been notified and will review it as soon as possible. For urgent issues and priority support, visit https://xscode.com/gnebbia/kb

gnebbia commented 4 years ago

This issue has been fixed by adding a print message for the error! Update kb from git!