fix(portal-api): handle connection error
fix(portal-api): handle connection error

geek/joyent-portal,geek/joyent-portal,yldio/copilot,yldio/joyent-portal,yldio/copilot,yldio/copilot,yldio/joyent-portal