Panic when serving non-existent file in SPA mode
powder-pony opened this issue · 1 comments
powder-pony commented
svenstaro commented
Thanks. Apart from the fact that it shouldn't panic at this point, what do you think is the expected behavior? I think it should indeed just refuse to start as --spa --index
without the file existing does indeed not make sense. We could handle this early in the program startup. Would you like to take a stab at this (and add a test while you're at it)? :)