update. save => print

This commit is contained in:
Phuoc Nguyen
2025-11-04 09:29:35 +07:00
parent ff25363a19
commit 1cfdd2c0c6
2 changed files with 6 additions and 4 deletions

View File

@@ -102,7 +102,7 @@ class ProductsRemoteDataSourceImpl implements ProductsRemoteDataSource {
// The API returns a list of stages for the product
final list = json as List;
if (list.isEmpty) {
throw const ServerException('Product stages not found');
throw const ServerException('Không tìm thấy sản phẩm');
}
// Parse all stages from the list
return list