fix: error in conduit, undefined err variable