mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Add winston formatting support for error causes
Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
1 parent
86ac417cab
commit
cd8a6f8dcc
7 files changed
+202
-27
No files matched your search
@@ -107,7 +107,7 @@ export class KubeWatchApi {
|
||||
unsubscribe.push(store.subscribe({ onLoadFailure, abortController: childController }));
|
||||
} catch (error) {
|
||||
if (!(error instanceof DOMException)) {
|
||||
this.log(Object.assign(new Error("Loading stores has failed"), { cause: error }), {
|
||||
this.log(new Error("Loading stores has failed", { cause: error }), {
|
||||
meta: { store, namespaces },
|
||||
});
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user