gets 1 or 2 different stack traces depending on internal config