chore: improve backend init error message

Include extension point ID and module ID in backend init error message.

Signed-off-by: Patrick Jungermann <Patrick.Jungermann@gmail.com>
This commit is contained in:
Patrick Jungermann
2024-01-16 16:21:50 +01:00
parent f090a4ce74
commit e0c18ef3b7
4 changed files with 10 additions and 3 deletions
@@ -307,7 +307,7 @@ describe('TestBackend', () => {
],
}),
).rejects.toThrow(
"Extension point registered for plugin 'testA' may not be used by module for plugin 'testB'",
"Illegal dependency: Module 'test' for plugin 'testB' attempted to depend on extension point 'a' for plugin 'testA'. Extension points can only be used within their plugin's scope.",
);
});