summaryrefslogtreecommitdiff
path: root/app/uploaders/file_mover.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/uploaders/file_mover.rb')
-rw-r--r--app/uploaders/file_mover.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/uploaders/file_mover.rb b/app/uploaders/file_mover.rb
index 887cb702acf..95bc2680ed6 100644
--- a/app/uploaders/file_mover.rb
+++ b/app/uploaders/file_mover.rb
@@ -54,7 +54,7 @@ class FileMover
updated_text = to_model.read_attribute(update_field)
.gsub(temp_file_uploader.markdown_link, uploader.markdown_link)
to_model.update_attribute(update_field, updated_text)
- rescue
+ rescue StandardError
revert
false
end