Skip to content

Commit

Permalink
Use Librarian::Error.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jay Feldblum committed May 25, 2011
1 parent 32033fe commit 80b8179
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/librarian.rb
Expand Up @@ -114,7 +114,7 @@ def resolve!
unless bounced_lockfile_text == lockfile_text
debug { "lockfile_text: \n#{lockfile_text}"}
debug { "bounced_lockfile_text: \n#{bounced_lockfile_text}"}
raise Exception, "Cannot bounce #{lockfile_name}!"
raise Error, "Cannot bounce #{lockfile_name}!"
end
lockfile_path.open('wb') { |f| f.write(lockfile_text) }
end
Expand Down

0 comments on commit 80b8179

Please sign in to comment.