Browse Source

remove rescue to view error. Unable to debug in development

Kylie Jo Swistak 5 năm trước cách đây
mục cha
commit
0557f3e1a7
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      app/models/carousels.rb

+ 2 - 2
app/models/carousels.rb

@@ -19,8 +19,8 @@ class Carousel < ActiveRecord::Base
       # Member List
       GuildCarousel.update_embed(event, self)
     end
-  rescue StandardError => e
-    error_embed(e.message)
+  #rescue StandardError => e
+    #error_embed(e.message)
   end
 
   def close(event)