There was an error while loading. Please reload this page.
1 parent 53fe4f3 commit fcb0843Copy full SHA for fcb0843
Source/MySql.Data/Driver.cs
@@ -561,7 +561,7 @@ protected virtual void Dispose(bool disposing)
561
if (mysqlEx == null)
562
MySqlTrace.LogError(0, ex.GetBaseException().Message);
563
else
564
- MySqlTrace.LogError(mysqlEx.ErrorCode, ex.GetBaseException().Message);
+ MySqlTrace.LogError(mysqlEx.Number, ex.GetBaseException().Message);
565
}
566
567
finally
0 commit comments