module Errors

Public Class Methods

display_error(msg, show_issues_url = false) click to toggle source
# File lib/railsbricks/errors.rb, line 6
def self.display_error(msg, show_issues_url = false)
  puts
  StringHelpers.wputs msg, :error
  puts

  if show_issues_url
    StringHelpers.wputs "If you can't fix this error, please file an issue report at #{ConfigValues.issue_path}"
    puts
  end

end