get_payload(): Improve the TypeError message when the payload isn't of
the expected type.  In response to SF #751451.
1 file changed