added stack trace to error message (to test)