Log content of errorCode instead of string "error code"

Minor bug in the pull if notExists workflow: the string "errorCode" is logged instead of the content of errorCode. This shoul fix it.