If the parsing of the metadata in the beginning of the uploaded main.Rmd file fails because of the formatting (eg. a missing dash), the server just gets stuck on a white screen, without informing the user about the error.
A suggestion for a quick solution would be to inform the user that something has gone wrong when parsing the metadata.