Inherit errors from StandardError instead of Exception.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
class PostAppeal < ApplicationRecord
|
||||
class Error < Exception; end
|
||||
class Error < StandardError; end
|
||||
|
||||
MAX_APPEALS_PER_DAY = 1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user