Skip to content

Commit 3f57293

Browse files
Exception should not be used for CustomErrors, replacing it with StandardError
Please don't use Exception for application errors, it can't be rescued in a normal catch block... See here for best practices: https://www.honeybadger.io/blog/ruby-exception-vs-standarderror-whats-the-difference/
1 parent 91dc495 commit 3f57293

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/bigbluebutton_exception.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module BigBlueButton
22

3-
class BigBlueButtonException < Exception
3+
class BigBlueButtonException < StandardError
44
attr_accessor :key
55

66
def to_s

0 commit comments

Comments
 (0)