Knowledge Base

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I resolve a "Maximum call stack exceeded" error when instrumenting Angular apps?

Why the RangeError: Maximum call stack exceeded error is thrown and what to do about it

 

Problem

You receive the error RangeError: Maximum call stack size exceeded for an Angular application when config.fetch is set to True.

 

Solution

To resolve the issue, add the appropriate code from the table below to the JavaScript Agent config file:

 

JavaScript Agent v4.5.14 and lower 

config.angular=true

JavaScript Agent v4.5.15 and higher

config.isZonePromise=true

Version history
Revision #:
4 of 4
Last update:
‎01-13-2020 05:53 PM
Updated by:
 
Labels (1)


Found this article helpful? Click the Thumbs Up button.
Have an additional comment? Post it below.
0 Kudos