Commit f9244f3
authored
ref(dev): Remove stacktrace limit on node errors in yarn scripts (#5650)
By default, Node errors only include the top 10 stackframes[1]. Given the number of frames taken up by internal node code (especially when async functions are involved), this very often means that frames which might actually tell us something are cut off.
This solves that problem by removing the 10-frame limit for all errors thrown by node processes run through yarn. Note that this is a change which only affects our dev environment, not the SDK itself.
[1] https://nodejs.org/api/errors.html#errorstacktracelimit1 parent 9c94642 commit f9244f3
0 commit comments