improve failure message for grind.dart

@dinhviethoa @gaurave @ussuri