Fixed stackTrace output to actually show up on iOS