passing all the lines from stacktrace