]> git.r.bdr.sh - rbdr/lyricli.rb/blobdiff - lib/lyricli/lyrics_engine.rb
Fixes stuff for ruby 1.8 support
[rbdr/lyricli.rb] / lib / lyricli / lyrics_engine.rb
index beacd4610490d6c17af4dc94f9c035dff08fe027..72ee4022a917685d44912f659d7f446436ddbeb7 100644 (file)
@@ -24,7 +24,7 @@ module Lyricli
         doc = Nokogiri::HTML(open(response['url']))
         node = doc.search(".lyricbox").first
       rescue
-        raise Lyricli::LyricsNotFoundException
+        raise Exceptions::LyricsNotFoundError
       end
 
       node.search(".rtMatcher").each do |n|