bitburner-official/bitburner-filesync

Throws raw error if target folder doesn't exist

HeinousTugboat opened this issue · 1 comments

I cloned bitburner-official/typescript-template and ran this tool and this was the output:
image

Should probably catch this error and handle it.

Yeah, have had that happen before.
Handling it with a procedure like below seems fitting:

it happens
ask user to create folder, y/n
if y make folder
if n or error, exit, with n silently, with error by printing error before exiting