Show error trace in console when catching an error in bootstrap

Change-Id: Icaee88ee3d1d3076cef166ba4443ac9065863efb
Merge "Show error trace in console when catching an error in bootstrap"