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