Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Graceful error handling for unexpected or unhandled errors #382

Closed
kensoh opened this issue Apr 7, 2019 · 1 comment
Closed

Graceful error handling for unexpected or unhandled errors #382

kensoh opened this issue Apr 7, 2019 · 1 comment
Labels

Comments

@kensoh
Copy link
Member

kensoh commented Apr 7, 2019

Sending a PR to handle previously unhandled errors that are outside of missing UI elements, error-handling during step and integrations execution, unrecognizable steps, missing parameters etc.

An example would be referencing a variable that is not yet declared -

ReferenceError: Can't find variable: abc                                          
  /Users/kensoh/Cloud Drive/Marketing/Website/api/tagui/src/phantomjs:/code/demo.js:1386
  /Users/kensoh/Cloud Drive/Marketing/Website/api/tagui/src/phantomjs:/platform/casper.js:1685 in runStep
  /Users/kensoh/Cloud Drive/Marketing/Website/api/tagui/src/phantomjs:/platform/casper.js:414 in checkStep

With this PR, the following standard error message from TagUI will be displayed instead -

ERROR - can't find variable: b
kensoh added a commit to tebelorg/TagUI that referenced this issue Apr 7, 2019
… errors

Sending a PR to handle previously unhandled errors that are outside of missing UI elements, error-handling during step and integrations execution, unrecognizable steps, missing parameters etc.

An example would be referencing a variable that is not yet declared -
```
ReferenceError: Can't find variable: abc
  /Users/kensoh/Cloud Drive/Marketing/Website/api/tagui/src/phantomjs:/code/demo.js:1386
  /Users/kensoh/Cloud Drive/Marketing/Website/api/tagui/src/phantomjs:/platform/casper.js:1685 in runStep
  /Users/kensoh/Cloud Drive/Marketing/Website/api/tagui/src/phantomjs:/platform/casper.js:414 in checkStep
```

---

With this PR, the following standard error message from TagUI will be displayed instead -
```
ERROR - can't find variable: b
```
kensoh added a commit that referenced this issue Apr 7, 2019
Sending a PR to handle previously unhandled errors that are outside of missing UI elements, error-handling during step and integrations execution, unrecognizable steps, missing parameters etc.

An example would be referencing a variable that is not yet declared -
```
ReferenceError: Can't find variable: abc
  /Users/kensoh/Cloud Drive/Marketing/Website/api/tagui/src/phantomjs:/code/demo.js:1386
  /Users/kensoh/Cloud Drive/Marketing/Website/api/tagui/src/phantomjs:/platform/casper.js:1685 in runStep
  /Users/kensoh/Cloud Drive/Marketing/Website/api/tagui/src/phantomjs:/platform/casper.js:414 in checkStep
```

---

With this PR, the following standard error message from TagUI will be displayed instead -
```
ERROR - can't find variable: b
```
@kensoh kensoh added the feature label Apr 7, 2019
@kensoh
Copy link
Member Author

kensoh commented Apr 7, 2019

Committed to master. Prior to packaged release, feature available from cutting edge version here -

https://github.com/kelaberetiv/TagUI#set-up

@kensoh kensoh closed this as completed Apr 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant