diff options
| author | TrainDoctor <traindoctor@protonmail.com> | 2022-11-13 16:31:05 -0800 |
|---|---|---|
| committer | TrainDoctor <traindoctor@protonmail.com> | 2022-11-13 16:31:05 -0800 |
| commit | 2955681975b175f6f4b0623c28642f7a78b0cd98 (patch) | |
| tree | 08d8669cfa058d0091da1865965856dd21510f67 /frontend/src/plugin-loader.tsx | |
| parent | de426397262f6b28d88f2f72a3941cfd52942b94 (diff) | |
| download | decky-loader-2955681975b175f6f4b0623c28642f7a78b0cd98.tar.gz decky-loader-2955681975b175f6f4b0623c28642f7a78b0cd98.zip | |
Show plugin as error and give guidance for uninstall
Diffstat (limited to 'frontend/src/plugin-loader.tsx')
| -rw-r--r-- | frontend/src/plugin-loader.tsx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/frontend/src/plugin-loader.tsx b/frontend/src/plugin-loader.tsx index 47747f75..582230ca 100644 --- a/frontend/src/plugin-loader.tsx +++ b/frontend/src/plugin-loader.tsx @@ -9,7 +9,7 @@ import { staticClasses, } from 'decky-frontend-lib'; import { FC, lazy } from 'react'; -import { FaExclamationCircle, FaPlug } from 'react-icons/fa'; +import { FaCog, FaExclamationCircle, FaPlug } from 'react-icons/fa'; import { DeckyState, DeckyStateContextProvider, useDeckyState } from './components/DeckyState'; import LegacyPlugin from './components/LegacyPlugin'; @@ -249,8 +249,9 @@ class PluginLoader extends Logger { <> Error:{' '} <pre> - <code>{e}</code> + <code>{e instanceof Error ? e.stack : e?.toString()}</code> </pre> + Please go to the <FaCog /> in Decky Loader to go to the settings menu if you need to uninstall this plugin. </> ); this.plugins.push({ |
