fix: product
This commit is contained in:
@@ -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');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user