expose stack trace if importStudy fails for #3256