Fixed error that prevented forwarding of exceptions.