log error when core is 0

actionlib error_code 0 whould never happen. Logging error when it occurs