Skip to content

Commit 18d03db

Browse files
committed
remove unused error type
1 parent 3741202 commit 18d03db

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/hooks/app/helpers.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,6 @@ def load_handler(handler_class_name, handler_dir)
9797
def determine_error_code(exception)
9898
case exception
9999
when ArgumentError then 400
100-
when SecurityError then 401
101100
when NotImplementedError then 501
102101
else 500
103102
end

0 commit comments

Comments
 (0)