chimericdream / cadence

A set of node.js scripts bundled to fill the gaps in your connected life when services like IFTTT aren't quite enough.
MIT License
0 stars 0 forks source link

Add error handling around data files/directories #23

Closed chimericdream closed 7 years ago

chimericdream commented 8 years ago

Since most of the data files are ignored by Git, they don't exist on first run of the app. This results in file not found exceptions.

It might make sense to have an install script that creates the necessary data files/folders. Alternatively, the main app.js file could have a function that ensures the data directory is in a usable state before the rest of the app boots.

chimericdream commented 7 years ago

done