Skip to content

Commit 5cb4155

Browse files
auto commit
1 parent aadb18e commit 5cb4155

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

Examples/runtimes/net/src/migration/PlaintextToAWSDBE/awsdbe/MigrationStep1.cs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,6 @@ public class MigrationStep1
3737
{
3838
public static async Task<bool> MigrationStep1Example(string kmsKeyId, string ddbTableName, string partitionKeyValue, string sortKeyWriteValue, string sortKeyReadValue)
3939
{
40-
try
41-
{
4240
// 1. Create a Keyring. This Keyring will be responsible for protecting the data keys that protect your data.
4341
// For this example, we will create a AWS KMS Keyring with the AWS KMS Key we want to use.
4442
// We will use the `CreateMrkMultiKeyring` method to create this keyring,
@@ -178,12 +176,6 @@ public static async Task<bool> MigrationStep1Example(string kmsKeyId, string ddb
178176
Console.WriteLine("MigrationStep1 completed successfully");
179177
}
180178
return success;
181-
}
182-
catch (Exception e)
183-
{
184-
Console.WriteLine($"Error in MigrationStep1: {e.Message}");
185-
throw;
186-
}
187179
}
188180
}
189181
}

0 commit comments

Comments
 (0)