From 7bbc41d0af82d307cdd5c10b038ece460b52d4d1 Mon Sep 17 00:00:00 2001 From: alex Date: Fri, 30 Jun 2023 16:33:45 +0800 Subject: [PATCH] =?UTF-8?q?=E5=87=BA=E5=BA=93=E7=94=B3=E8=AF=B7=E6=B6=88?= =?UTF-8?q?=E9=99=A4catch=E5=9D=97=E5=8F=98=E9=87=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- WarehouseMgr/Tnb.WarehouseMgr/WmsOutStockService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WarehouseMgr/Tnb.WarehouseMgr/WmsOutStockService.cs b/WarehouseMgr/Tnb.WarehouseMgr/WmsOutStockService.cs index 3c0f27d2..44e952a1 100644 --- a/WarehouseMgr/Tnb.WarehouseMgr/WmsOutStockService.cs +++ b/WarehouseMgr/Tnb.WarehouseMgr/WmsOutStockService.cs @@ -473,7 +473,7 @@ namespace Tnb.WarehouseMgr await _db.Ado.CommitTranAsync(); } } - catch (Exception ex) + catch (Exception) { await _db.Ado.RollbackTranAsync(); throw;