Maintain original backtrace when wrapping exceptions