add some error handling for the status publishing.
add some error handling for the status publishing.

rlutes/volttron-applications,rlutes/volttron-applications,rlutes/volttron-applications,rlutes/volttron-applications,rlutes/volttron-applications