Plugin Extensions: Streamline log messages (#95943)

* streamline log messages

* cleanup

* fix tests

* only log errors to the console

* more cleanup again

* cleanup

* Update public/app/features/plugins/extensions/errors.ts

Co-authored-by: Levente Balogh <balogh.levente.hu@gmail.com>

* pr feedback

* remove white space

* Update public/app/features/plugins/extensions/registry/ExposedComponentsRegistry.ts

Co-authored-by: Levente Balogh <balogh.levente.hu@gmail.com>

* revert touched file

* revert touched file

* fix tests

---------

Co-authored-by: Levente Balogh <balogh.levente.hu@gmail.com>
This commit is contained in:
Erik Sundell
2024-11-12 08:55:04 +01:00
committed by GitHub
co-authored by Levente Balogh
parent 477326b9c3
commit 4c0dde6f2f
21 changed files with 737 additions and 743 deletions
@@ -21,10 +21,10 @@ func TestLegacyStorageList(t *testing.T) {
folderService := &foldertest.FakeService{}
folderService.ExpectedFolders = []*folder.Folder{
&folder.Folder{UID: "parent", Title: "Folder Parent", ParentUID: ""},
&folder.Folder{UID: "child", Title: "Folder Child", ParentUID: "parent"},
&folder.Folder{UID: "anotherparent1", Title: "Folder Another Parent 1", ParentUID: ""},
&folder.Folder{UID: "anotherparent1", Title: "Folder Another Parent 2", ParentUID: ""},
{UID: "parent", Title: "Folder Parent", ParentUID: ""},
{UID: "child", Title: "Folder Child", ParentUID: "parent"},
{UID: "anotherparent1", Title: "Folder Another Parent 1", ParentUID: ""},
{UID: "anotherparent1", Title: "Folder Another Parent 2", ParentUID: ""},
}
usr := &user.SignedInUser{UserID: 1}