From 07dfd87b42dd64a41d91cfc8510cdcb00bba5e1e Mon Sep 17 00:00:00 2001 From: Wedge Date: Mon, 6 Aug 2018 07:50:41 +0300 Subject: [PATCH] Capture error from file store service --- app/services/file_store_service.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/services/file_store_service.rb b/app/services/file_store_service.rb index 9bf7fcff1..e6bb387d5 100644 --- a/app/services/file_store_service.rb +++ b/app/services/file_store_service.rb @@ -20,7 +20,8 @@ module FileStoreService else false end - rescue # Dont care about it + rescue => e # Dont care about it + Raven.capture_exception(e) return false end @@ -67,4 +68,4 @@ module FileStoreService end end -end \ No newline at end of file +end