Incorrect message on "publish" exception

In case of an exception the same error message was being displayed. The JLIB_DATABASE_ERROR_ANCESTOR_NODES_LOWER_STATE message is also irrelevant most of the times, like in non-nested tables.
Changed to show actual message string from the Exception object.