Trap errors in bunyan logging and dump to console

Change-Id: I336618371d987dc44352cb76b6c234fd1b203ccd