Suppress backtrace on error unless 'debug' option is given.

Change-Id: I40ad01f6ccd30606a3fbcb616d0c57aec570778e