JDetmar / NLog.Extensions.AzureStorage

NLog Target for Azure Storage. Uses NLog batch write to optimize writes to Storage.
MIT License
31 stars 19 forks source link

Fix DataTable error: It raise error when the table already exists. #115

Closed m4ss1m0g closed 2 years ago

m4ss1m0g commented 2 years ago

When the table exist it raise error

2021-10-14 16:41:53.1195 Error AzureDataTablesTarget: Failed to initialize table=MyName Exception: System.NullReferenceException: Object reference not set to an instance of an object.
   at NLog.Targets.DataTablesTarget.CloudTableService.InitializeAndCacheTableAsync(String tableName, CancellationToken cancellationToken)
snakefoot commented 2 years ago

This is getting embarrassing. Hope @JDetmar will merge your PR soon.

snakefoot commented 2 years ago

Created #116 with version-bump, that can be merged after this PR.

JDetmar commented 2 years ago

thank you @m4ss1m0g & @snakefoot

JDetmar commented 2 years ago

nuget available https://www.nuget.org/packages/NLog.Extensions.AzureDataTables/3.2.0