error handling changes in share functions

eom

Signed-off-by: Robert Tipton <tret@tretflix.com>