Skip to content
This repository was archived by the owner on Apr 15, 2024. It is now read-only.

Tweaks to error handling - #183

Merged
jgielstra-cs merged 1 commit into
developfrom
content-upload-error
May 10, 2019
Merged

Tweaks to error handling#183
jgielstra-cs merged 1 commit into
developfrom
content-upload-error

Conversation

@jgielstra-cs

Copy link
Copy Markdown
Contributor

Fix handling of non-http errors, like network or filesystem issues
Fix error propagation from getSourceFiles() in callbacks errors are typically first.

@dwisecup-cs dwisecup-cs left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@cdraper-CS cdraper-CS left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's a bit surprising that we 'resolve' the errors. Looks like content upload checks the success flag, but save and test connection don't. They probably should be modified.

Assuming we continue to resolve, we need to provide 'status' if we have it, and/or modify the error handling in content upload.

@jgielstra-cs
jgielstra-cs merged commit cac5de5 into develop May 10, 2019
@jgielstra-cs
jgielstra-cs deleted the content-upload-error branch May 10, 2019 18:36
vadan-cs pushed a commit that referenced this pull request May 23, 2019
pmantaring-cs pushed a commit that referenced this pull request Jun 6, 2019
* CCF-9286: return instanceId in the message when promoting a snapshot … (#162)

* CCF-9286: return instanceId in the message when promoting a snapshot to an environment that was being returned by the api response but not getting included in the cli response

* updated message with review comments

* fixing undefined error when promoting a snapshot to an environment, instanceId is under `response.message.instanceId` (#164)

* Add agents list-snapshot-instances (#168)

* Fix invalid query param on list snap instances (#170)

* Update minor-compatible dependencies

* Tweaks to error handling (#183)

* Added npm publish to build.sh. (#190)

* Ccf 11021 validate configure (#189)

* Add validations for url, accounts, user, password

* Fix messages

* Add support for CORTEX_URI

* Fixed per review comments, support - in URL, remove dead redundant code

* Adds support for Graph, Profiles, and Experiments APIs (#180)

* Revved generator version and cli version.

* Ccf 9171 memory vcpu mismatch (#155)

* don't use default command line params for memory and vcpus

* 0.12.9

* Bump lodash for vunerabilities
CCF-9252 update generator for linux

* CCF-9376 update generator version to 0.3.18 (#163)

* CCF-9286: return instanceId in the message when promoting a snapshot … (#162)

* CCF-9286: return instanceId in the message when promoting a snapshot to an environment that was being returned by the api response but not getting included in the cli response

* updated message with review comments

* fixing undefined error when promoting a snapshot to an environment, instanceId is under `response.message.instanceId` (#164)

* working recursive upload of directory (#165)

* working recursive upload of directory

* 0.12.12

* Remove cortex-processors commands (#166)

* Add agents list-snapshot-instances (#168)

* Chunk directory upload (#169)

* use sequential chunks of files to upload

* 0.12.13

* Fix invalid query param on list snap instances (#170)

* Updated list-services command to display the parameter names/types as well (#171)

* CCF-9783 reverting changes to agent and catalog (#173)

* Remove --timeout option from actions deploy (#175)

* Ccf 9955 configure url (#176)

* add protocol prefix if one is missing

* 0.12.14

* Adds support for graph and profile APIs

* Return error message from content upload properly

* Bump generator-cortex to pick up with_type change

* Support graph query in CLI

* created template checklist as POC

* updated pull_request_template

* Update pull_request_template.md

* Adds CLI support for Cortex Experiments

* Adds progress bar to graph event publish for files

* Bug fixes when attempting to craft manual test cases for the cli.

* Reved package-log

* Bumped version of cli and add proxying support

* 0.12.17
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants