message: Log when a file is not served because it was too big
diff: @@ -298,9 +298,10 @@ pub fn rustdoc_html_server_handler(req: &mut Request) -> IronResult<Response> {
  }
  // Attempt to load the file from the database
  - let file = if let Ok(file) = File::from_path(&storage, &path, &config) {
  - file
  - } else {
  + let file = match File::from_path(&storage, &path, &config) {
  + Ok(file) => file,
  + Err(err) => {
  + log::debug!("got error serving {}: {}", path, err);
  // If it fails, we try again with /index.html at the end
  path.push_str("/index.html");
  req_path.push("index.html");
  @@ -310,6 +311,7 @@ pub fn rustdoc_html_server_handler(req: &mut Request) -> IronResult<Response> {
  } else {
  Err(IronError::new(Nope::ResourceNotFound, status::NotFound))
  };
  + }
  };
  // Serve non-html files directly
  