Silence some caught exceptions if from test app

Bug: 32641459

Test: unit test

Change-Id: Ic5e9e7f3ba8052bc42d1ec41cc672e2c82465d1c
2 files changed