We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1afab42 commit 93950e0Copy full SHA for 93950e0
packages/serverless-api/src/client.ts
@@ -332,10 +332,10 @@ export class TwilioServerlessApiClient extends events.EventEmitter {
332
`Service with name "${config.serviceName}" already exists with SID "${alternativeServiceSid}".`
333
);
334
error.name = 'conflicting-servicename';
335
- Object.defineProperty(err, 'serviceSid', {
+ Object.defineProperty(error, 'serviceSid', {
336
value: alternativeServiceSid,
337
});
338
- Object.defineProperty(err, 'serviceName', {
+ Object.defineProperty(error, 'serviceName', {
339
value: config.serviceName,
340
341
throw error;
0 commit comments