diff options
Diffstat (limited to 'lib/oxidized/source')
-rw-r--r-- | lib/oxidized/source/sql.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/oxidized/source/sql.rb b/lib/oxidized/source/sql.rb index 9f862e5..1c4c33e 100644 --- a/lib/oxidized/source/sql.rb +++ b/lib/oxidized/source/sql.rb @@ -3,7 +3,7 @@ class SQL < Source begin require 'sequel' rescue LoadError - raise LoadError, 'sequel not found: sudo gem install sequel' + raise OxidizedError, 'sequel not found: sudo gem install sequel' end def initialize @@ -30,7 +30,7 @@ class SQL < Source begin require 'sqlite3' rescue LoadError - raise LoadError, 'sqlite3 not found: sudo apt install libsqlite3-dev; sudo gem install sqlite3' + raise OxidizedError, 'sqlite3 not found: sudo apt install libsqlite3-dev; sudo gem install sqlite3' end Sequel.sqlite @cfg.file end |