Error handling in terravis and stacture
Currently most errors lead to 500 internal server errors, e.g. if gdal can't open a file. This should be a bad request though if an invalid path was passed in.
Build infrastructure to send proper error codes and messages, and also use it where it's already clear that it makes sense.