Update packages/backend-app-api/src/wiring/BackendInitializer.ts

Co-authored-by: Phil Kuang <pkuang@factset.com>
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Johan Haals
2022-07-08 14:20:21 +02:00
committed by Patrik Oldsberg
parent 5f7c8c45f4
commit f147543044
@@ -69,7 +69,7 @@ export class BackendInitializer {
extension.register({
registerExtensionPoint: (api, impl) => {
if (registerInit) {
throw new Error('registerInitApi called after registerInit');
throw new Error('registerExtensionPoint called after registerInit');
}
if (this.#apis.has(api)) {
throw new Error(`API ${api.id} already registered`);