print brand config output in rails log

Change-Id: I50aab5792fdd793356a13355f0850cdced105d6a
Reviewed-on: https://gerrit.instructure.com/89319
Reviewed-by: Cody Cutrer <cody@instructure.com>
Tested-by: Jenkins
Product-Review: Simon Williams <simon@instructure.com>
QA-Review: Simon Williams <simon@instructure.com>
This commit is contained in:
Simon Williams 2016-08-31 12:18:56 -06:00
parent 95b2bf431e
commit 7c7de99030
1 changed files with 1 additions and 1 deletions

View File

@ -251,7 +251,7 @@ module BrandableCSS
percent_complete = 0
Open3.popen2e(command) do |_stdin, stdout_and_stderr, wait_thr|
stdout_and_stderr.each do |line|
puts line.chomp!
Rails.logger.try(:debug, line.chomp!) if defined?(Rails)
# This is a good-enough-for-now approximation to show the progress
# bar in the UI. Since we don't know exactly how many files there are,