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

Exceptions from actions cannot be caught #959

Closed
hankduan opened this issue Jun 20, 2014 · 1 comment
Closed

Exceptions from actions cannot be caught #959

hankduan opened this issue Jun 20, 2014 · 1 comment

Comments

@hankduan
Copy link
Contributor

Since 0.24.0, exceptions will not propagate to the then. i.e.

element(by.model('INVALID')).click().then(function(){
  //
}, function(err) {
  // This will not log
  console.log('err');
});
@hankduan
Copy link
Contributor Author

merged with 36e0e0a

@hankduan hankduan removed their assignment Nov 4, 2015
bodyduardU pushed a commit to bodyduardU/protractor that referenced this issue Dec 5, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant