diff --git a/packages/ember-stargate/src/services/-portal.js b/packages/ember-stargate/src/services/-portal.js index 071030ae..551952d4 100644 --- a/packages/ember-stargate/src/services/-portal.js +++ b/packages/ember-stargate/src/services/-portal.js @@ -52,7 +52,7 @@ export default class PortalService extends Service { unregisterPortal(name) { let count = this.#portalCount.get(name) ?? 0; assert( - `Trying to unregister a portal that hasn't been registered before`, + `Trying to unregister a portal "${name}" that hasn't been registered before`, count > 0 ); count--;