Add module specific error handling for best practice. Note: agent should catch error and continue operation accordingly