Skip to content

Commit

Permalink
Prepend "WARN:" before warning messages.
Browse files Browse the repository at this point in the history
  • Loading branch information
goncalossilva committed Mar 5, 2012
1 parent 77702f3 commit e3857cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/showoff.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@
begin
require 'RMagick'
rescue LoadError
$stderr.puts 'image sizing disabled - install rmagick'
$stderr.puts 'WARN: image sizing disabled - install rmagick'
end

begin
require 'pdfkit'
rescue LoadError
$stderr.puts 'pdf generation disabled - install pdfkit'
$stderr.puts 'WARN: pdf generation disabled - install pdfkit'
end

require 'tilt'
Expand Down

0 comments on commit e3857cc

Please sign in to comment.