Remove try-catch block

This commit is contained in:
Tuan Dang
2024-04-29 16:53:52 -07:00
parent 93b65a1534
commit 22e3fcb43c
@@ -442,7 +442,6 @@ const syncSecretsAWSParameterStore = async ({
accessId: string | null; accessId: string | null;
accessToken: string; accessToken: string;
}) => { }) => {
try {
if (!accessId) return; if (!accessId) return;
const config = new AWS.Config({ const config = new AWS.Config({
@@ -532,9 +531,6 @@ const syncSecretsAWSParameterStore = async ({
} }
}) })
); );
} catch (err) {
console.error("syncSecretsAWSPS error: ", err);
}
}; };
/** /**