We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ca031c commit 72f02f2Copy full SHA for 72f02f2
lib/esdb.rb
@@ -1,4 +1,6 @@
1
module ESDB
2
+ class Exception < Exception; end
3
+
4
# Various Settings
5
# TODO: refactor
6
class << self
lib/esdb/resource.rb
@@ -54,7 +54,7 @@ def self.find(id)
54
end
55
56
rescue
57
- nil
+ raise ESDB::Exception
58
59
60
# A kind of find_or_create - experimental.
0 commit comments