backend: Improve error logging for webhook event failures
This commit is contained in:
parent
a10d30284b
commit
8ffc4b942f
@ -171,7 +171,7 @@ export class OpenViduWebhookService {
|
|||||||
body: JSON.stringify(data)
|
body: JSON.stringify(data)
|
||||||
});
|
});
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
this.logger.error(`Error sending webhook event ${data.event}: ${error}`);
|
this.logger.error(`Error sending webhook event ${data.event} to '${webhookPreferences.url}':`, error);
|
||||||
throw error;
|
throw error;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user