dlogsend: notify and return error code when message send fails