add stacktrace to build