From 4d972af2023c4b7aaccfc23d9b8ce4b5a6aa60af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20L=2E=20Charlier?= Date: Wed, 10 Aug 2016 23:04:37 +0200 Subject: [PATCH] Fix issue to capture timeout --- NBi.Core/Query/QuerySqlEngine.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NBi.Core/Query/QuerySqlEngine.cs b/NBi.Core/Query/QuerySqlEngine.cs index 9ba6efd31..5ec6bf667 100644 --- a/NBi.Core/Query/QuerySqlEngine.cs +++ b/NBi.Core/Query/QuerySqlEngine.cs @@ -77,7 +77,7 @@ public PerformanceResult CheckPerformance(int timeout) } catch (SqlException e) { - if (!e.Message.StartsWith("Timeout expired.")) + if (!e.Message.StartsWith("Timeout expired.") && !e.Message.StartsWith("Execution Timeout Expired.")) throw; isTimeout=true; }