File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ def put(id = nil)
105
105
challenge . start
106
106
raise RetryException
107
107
when :quit
108
- raise StandardExit
108
+ raise Interrupt
109
109
end
110
110
end
111
111
end
@@ -128,12 +128,12 @@ def put(id = nil)
128
128
raise RetryException
129
129
when :x
130
130
next unless upload? ( challenge )
131
- raise StandardExit
131
+ raise Interrupt
132
132
when :retry
133
133
challenge . start
134
134
raise RetryException
135
135
when :quit
136
- raise StandardExit
136
+ raise Interrupt
137
137
end
138
138
end
139
139
@@ -150,7 +150,7 @@ def put(id = nil)
150
150
retry
151
151
end
152
152
153
- rescue Interrupt , StandardError , StandardExit
153
+ rescue Interrupt , StandardError
154
154
VimGolf . ui . info "\n Thanks for playing!"
155
155
rescue Exception => e
156
156
VimGolf . ui . error "Uh oh, something went wrong! Error: #{ e } "
You can’t perform that action at this time.
0 commit comments