fix: product

This commit is contained in:
efrilm
2025-09-03 12:15:43 +07:00
parent 6599e6fe7c
commit 5534aad0d4
2 changed files with 20 additions and 124 deletions
@@ -56,7 +56,7 @@ class ProductRemoteDatasource {
log("Dio error: ${e.message}");
return Left(e.response?.data['message'] ?? 'Gagal mengambil produk');
} catch (e) {
log("Unexpected error: $e");
log("Unexpected error: $e", name: "productRemoteDatasource");
return const Left('Unexpected error occurred');
}
}