Skip to content

Commit

Permalink
Fix issue to capture timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
Cédric L. Charlier committed Aug 10, 2016
1 parent f742cee commit 4d972af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion NBi.Core/Query/QuerySqlEngine.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 4d972af

Please sign in to comment.