feat: add rows count (broken), fix: bug with low stock items
This commit is contained in:
@@ -38,6 +38,8 @@ class InventoryViewModel extends ChangeNotifier {
|
||||
|
||||
notifyListeners();
|
||||
} catch (e, stack) {
|
||||
if (e is InsufficientStockException) rethrow;
|
||||
|
||||
debugPrint('InventoryViewModel: decreaseStock error: $e');
|
||||
Sentry.captureException(e, stackTrace: stack);
|
||||
rethrow;
|
||||
|
||||
Reference in New Issue
Block a user