improve message when mesh contains non-triangle data