Closed mrForce closed 8 months ago
Verify that the 'Field resolver log level' in the AppSync settings is set to 'ALL'.
@mrForce did that resolve your issue? I've been getting stack failed to deploy
CDK errors when using console.log
or console.error
in my resolvers.
@mrForce let us know if you're still experiencing this issue. @thetoxicavenger can you share more details or open a case with AWS Support?
Verify that the 'Field resolver log level' in the AppSync settings is set to 'ALL'.
Yes, that fixed it. I'll close the issue out now.
While on a call with AWS Support, we noticed that using console.log doesn't seem to work in JS resolvers. Has anyone else had this issue?
Resolver (simple example): ` /**
limit
and stards from the providedNextToken
(optional)./**
It logs an ExecutionSummary, and then a RequestSummary. But it doesn't log hello (I've tried a few different console.log in both request and response, and none of them worked).