diff --git a/src/Panel.tsx b/src/Panel.tsx index f0a01ab9..e239fc66 100644 --- a/src/Panel.tsx +++ b/src/Panel.tsx @@ -74,6 +74,11 @@ export const Panel = ({ active, api }: PanelProps) => { ); if (projectUpdatingFailed) { + // These should always be set when we get this error + if (!projectToken || !configFile) { + throw new Error(`Missing projectToken/config file after configuration failure`); + } + return (