Skip to content

Commit

Permalink
SNOW-902611 removed unnecessary catch
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-mhofman committed Oct 10, 2023
1 parent cca78fa commit 7f66bb2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Snowflake.Data.Tests/App.config
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Copyright (c) 2012-2017 Snowflake Computing Inc. All rights reserved.
</layout>
<appender name="ConsoleAppender" type="log4net.Appender.ConsoleAppender">
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="%date [%thread] [%-5level] [%classname:%line] - %message%newline" />
<conversionPattern value="%date [%thread] [%-5level] [%ClassName:%line] - %message%newline" />
</layout>
</appender>
</appender>
Expand All @@ -31,7 +31,7 @@ Copyright (c) 2012-2017 Snowflake Computing Inc. All rights reserved.
<appender-ref ref="RollingFileAppender" />
</root>
<root>
<level value="ALL" />
<level value="WARN" />
<appender-ref ref="ConsoleAppender" />
</root>
</log4net>
Expand Down
2 changes: 1 addition & 1 deletion Snowflake.Data/Core/Session/SessionPool.cs
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ private Task<SFSession> NewSessionAsync(String connectionString, SecureString pa
.OpenAsync(cancellationToken)
.ContinueWith(previousTask =>
{
if (previousTask.IsFaulted && previousTask.Exception != null)
if (previousTask.IsFaulted && previousTask.Exception != null)
throw previousTask.Exception;

if (previousTask.IsFaulted)
Expand Down

0 comments on commit 7f66bb2

Please sign in to comment.