Skip to content
This repository was archived by the owner on Jul 29, 2024. It is now read-only.
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

Description

@hankduan

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');
});

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions