refactor: 💡 Remove stack traces and add logs for version info (#2391)
This commit is contained in:
1 parent
9404300a9e
commit
ec6ec7511e
12 files changed
+51
-30
No files matched your search
@@ -123,12 +123,15 @@ export default class CacheDaemonHandler {
|
||||
);
|
||||
} catch (err) {
|
||||
// If it fails again just fall back to fetching controller data
|
||||
__electronLog?.error('Failed to add token to daemons', err);
|
||||
__electronLog?.error(
|
||||
'Failed to add token to daemons',
|
||||
err.message,
|
||||
);
|
||||
}
|
||||
} else {
|
||||
__electronLog?.error(
|
||||
'Failed to search cache daemon; falling back to search controller',
|
||||
e,
|
||||
e.message,
|
||||
);
|
||||
|
||||
return fetchControllerData(context, next);
|
||||
|
||||
Reference in new issue
Block a user