Added stacktrace to exceptions