added stacktrace for screenshoting exceptions