SI-7740 Trim stack trace before printing in REPL
Merge pull request #2824 from qerub/ticket/7740

SI-7740 Trim stack trace before printing in REPL