修改trigger 注入服务异常
continuous-integration/drone/push Build is passing

This commit is contained in:
2023-12-06 11:47:10 +08:00
parent fc8aaea395
commit 6a8a005951
4 changed files with 28 additions and 13 deletions
@@ -587,12 +587,12 @@ namespace IRaCIS.Core.Infra.EFCore
throw new DBSaveFailedException("SQL 事务失败,请检查环境。");
}
catch (Exception ex)
{
_logger.LogError(ex.InnerException is null ? ex.Message : ex.InnerException?.Message);
//catch (Exception ex)
//{
// _logger.LogError(ex.InnerException is null ? ex.Message : ex.InnerException?.Message);
throw new DBSaveFailedException("数据保存异常。");
}
// throw new DBSaveFailedException(ex.Message);
//}
}