Preserve stack traces for rethrow.