Catch catchable fatal errors when formatting echo notifications

Change-Id: Ieaf02ece716802309e85ed0e32a0a15fcd24c50d
(cherry picked from commit fcd4f67c93695b763102367d10f866fb7be2984b)