mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-12-09 09:59:40 -06:00
add stringify
This commit is contained in:
parent
79438c9445
commit
16c0a8033f
@ -103,7 +103,7 @@ export class TemplateService {
|
||||
return result.data;
|
||||
}
|
||||
} catch (e) {
|
||||
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));
|
||||
|
||||
// Return the complete error response from WhatsApp API
|
||||
if (e.response?.data) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user