Restore migration for exception + stacktrace contexts