Skip to content

Commit

Permalink
Mark startLayout error as expected (#37641)
Browse files Browse the repository at this point in the history
  • Loading branch information
jridgewell committed Feb 11, 2022
1 parent dc411f8 commit d476216
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/service/resource.js
Expand Up @@ -850,7 +850,7 @@ export class Resource {
devAssert(this.isDisplayed(), 'Not displayed for layout: %s', this.debugid);

if (this.state_ != ResourceState_Enum.LAYOUT_SCHEDULED) {
const err = dev().createError(
const err = dev().createExpectedError(
'startLayout called but not LAYOUT_SCHEDULED',
'currently: ',
this.state_
Expand Down

0 comments on commit d476216

Please sign in to comment.