Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

fix(test): fix #1155, try/catch modify error.message #1157

Merged
merged 1 commit into from
Mar 12, 2019

Conversation

JiaLiPassion
Copy link
Collaborator

fix #1155.

In some test cases, the user may throw an error with an unconfigurable or readonly message property, so we should try/catch when we want to add some additional information to the message there.

@mhevery mhevery merged commit 7e983d1 into angular:master Mar 12, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cannot assign to read only property 'message'
4 participants