diff --git a/app/controllers/dmsf_files_controller.rb b/app/controllers/dmsf_files_controller.rb index cd5430b2..cbd5647b 100644 --- a/app/controllers/dmsf_files_controller.rb +++ b/app/controllers/dmsf_files_controller.rb @@ -49,7 +49,11 @@ class DmsfFilesController < ApplicationController end end check_project(@revision.file) - send_revision + begin + send_revision + rescue MissingFile => e + render_404 + end return end