From 0db1f1eeb511392aa3566018dd630dad4c884d9b Mon Sep 17 00:00:00 2001 From: DanielRufino Date: Tue, 7 Nov 2023 17:02:31 -0300 Subject: [PATCH] catch removed --- lib/amplia-client.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/lib/amplia-client.js b/lib/amplia-client.js index a38d563..d3232b9 100644 --- a/lib/amplia-client.js +++ b/lib/amplia-client.js @@ -243,17 +243,12 @@ class AmpliaClient { * @returns {Promise} the response containing the certificate in many formats */ async issueSoftwareCertificate(orderId, password, keySize = null) { - try { const client = this._getRestClient(); const request = new IssueSoftwareCertificateRequest({ orderId, password, keySize }); const response = await client.post('api/certificates/software', request); const cert = new IssueSoftwareCertificateResponse(response.getBody()); return cert; - } catch (err) { - throw err; } - } - /** * Issues a PKCS#12 certificate order from Amplia *