protractor icon indicating copy to clipboard operation
protractor copied to clipboard

Fix stack of undefined issue

Open LuChenZhi opened this issue 4 years ago • 2 comments

In the default logic, this err object should be an Object or String. But in my case when the err is undefined or null, this code will throw an issue as below image. I add a logic to check if the err is not null or undefined.

image

LuChenZhi avatar May 14 '21 03:05 LuChenZhi

Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

:memo: Please visit https://cla.developers.google.com/ to sign.

Once you've signed (or fixed any issues), please reply here with @googlebot I signed it! and we'll verify it.


What to do if you already signed the CLA

Individual signers
Corporate signers

ℹ️ Googlers: Go here for more info.

googlebot avatar May 14 '21 03:05 googlebot

Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

:memo: Please visit https://cla.developers.google.com/ to sign.

Once you've signed (or fixed any issues), please reply here with @googlebot I signed it! and we'll verify it.


What to do if you already signed the CLA

Individual signers
Corporate signers

ℹ️ Googlers: Go here for more info.

google-cla[bot] avatar May 14 '21 03:05 google-cla[bot]