mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-09 15:37:56 -05:00
crew: show env hash expanded when showing Kernel.system errors (#6577)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# Defines common constants used in different parts of crew
|
||||
|
||||
CREW_VERSION = '1.21.2'
|
||||
CREW_VERSION = '1.21.3'
|
||||
|
||||
ARCH_ACTUAL = `uname -m`.chomp
|
||||
# This helps with virtualized builds on aarch64 machines
|
||||
|
||||
@@ -142,7 +142,7 @@ class Package
|
||||
exitstatus = $?.exitstatus
|
||||
# print failed line number and error message
|
||||
puts "#{e.backtrace[1]}: #{e.message}".orange
|
||||
raise InstallError, "`#{env} #{cmd_args}` exited with #{exitstatus}"
|
||||
raise InstallError, "`#{env.map {|k, v| "#{k}=\"#{v}\"" } .join(' ')} #{cmd_args}` exited with #{exitstatus}"
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user