400839c527
Instead of modifying the error to replace a dummy derivation chain from construction with the real one, build the error with the real derivation chain directly.