superfaceai / cli

Let AI connect the APIs for you
https://superface.ai
MIT License
23 stars 4 forks source link

Fix/polling errors #334

Closed Jakub-Vacek closed 1 year ago

Jakub-Vacek commented 1 year ago

Description

This PR partially fixes: https://github.com/superfaceai/cli/issues/324 It adds use of userError to function asserting correct response from server. This allows to print out correct error message and exit the process.

Motivation and Context

Types of changes

Checklist: