added show log for errors

Change-Id: Ib6e513d558798d8c67048ab378c23c24e4c99b5a