fixup! Pass error to getStack

 * Follow up on Iad94cb7bbdc3341f3e7799845f1827dfd17d3848.

Change-Id: I745c33fc35fffa04e742d491a70bc504ac1267b0