We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 79438c9 commit 16c0a80Copy full SHA for 16c0a80
src/api/services/template.service.ts
@@ -103,7 +103,7 @@ export class TemplateService {
103
return result.data;
104
}
105
} catch (e) {
106
- this.logger.error('WhatsApp API request error: ' + (e.response?.data || e.message));
+ this.logger.error('WhatsApp API request error: ' + ( e.response?.data ? JSON.stringify(e.response?.data) : e.message));
107
108
// Return the complete error response from WhatsApp API
109
if (e.response?.data) {
0 commit comments