rob-murray / ferver

A Ruby gem to serve files over HTTP, packaged as a Ruby gem
MIT License
14 stars 3 forks source link

Application crashes if the directory specified does not exist #7

Closed rob-murray closed 10 years ago

rob-murray commented 10 years ago

We should test that the directory passed exists or not - currently crashes when listing files.

Options: a) error with description of the problem and halt b) output error to console and continue use the current directory