You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Was just working with @sushantmimani on #260 and ran into an incidental issue. In setting up the test code, a permission was missed, but Asherah only emitted a null object reference, nothing about the cause.
Object reference not set to an instance of an object.
at GoDaddy.Asherah.AppEncryption.Persistence.DynamoDbMetastoreImpl.LoadLatest(String keyId)
at GoDaddy.Asherah.AppEncryption.Envelope.EnvelopeEncryptionJsonImpl.LoadLatestKeyRecord(String keyId)
To Reproduce
Remove permission to AWS DynamoDB in csharp
Expected behavior
Clear message or rethrow of AWS exception.
Screenshots
Sushant Mimani 2 hours ago
i can see access issue logs in cloudwatch when i remove DynamoDB perms from my role
Also, from what i can see, the logging varies slightly for Java and C#. The above trace was from the Java SDK but you’re right, the C# one seems to gobble up those permission issue logs.
Additional context
As discussed in Slack #asherah
The text was updated successfully, but these errors were encountered:
Describe the bug
Was just working with @sushantmimani on #260 and ran into an incidental issue. In setting up the test code, a permission was missed, but Asherah only emitted a null object reference, nothing about the cause.
To Reproduce
Remove permission to AWS DynamoDB in csharp
Expected behavior
Clear message or rethrow of AWS exception.
Screenshots
Sushant Mimani 2 hours ago
Additional context
As discussed in Slack #asherah
The text was updated successfully, but these errors were encountered: