Skip to content

Commit 32a4f8c

Browse files
committed
[projects] unblock if project config cannot be fetched
1 parent 702d288 commit 32a4f8c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

components/dashboard/src/projects/ConfigureProject.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,10 @@ export default function () {
107107
setShowAuthBanner({ host: new URL(project.cloneUrl).hostname });
108108
} else {
109109
console.error('Getting project configuration failed', error);
110+
setIsDetecting(false);
111+
setIsEditorDisabled(true);
112+
setEditorMessage(<EditorMessage type="warning" heading="Project type could not be detected." message="Fetching project information failed." />);
113+
setGitpodYml(TASKS.Other);
110114
}
111115
}
112116
})();

0 commit comments

Comments
 (0)