softoff: switch to 'report' error API

phosphor-logging now has an interface to avoid needing a
try/catch to report an error in the same location it is
discovered, so switch to using it.

Change-Id: I96b6f3ec10b39f6ce3030b95f94768c00c3ad9d8
Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com>
1 file changed