Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ const GitHubProjectSelection: FC<IData> = ({ uri, keyConfig, onLoadProject, onBa
);
setIsLoaded(true);
console.log(result);
} catch {
} catch (e) {
setIsLoadError(true);
alert('Something went wrong. Please check that the function is running and accessible from this location.');
alert('Something went wrong.\n\nDetails:\n' + e);
}
};

Expand Down Expand Up @@ -86,7 +86,7 @@ const GitHubProjectSelection: FC<IData> = ({ uri, keyConfig, onLoadProject, onBa
{isLoading ? (
<div>
<Spinner />
<Body1>Downloading respository...</Body1>
<Body1>Downloading repository...</Body1>
</div>
) : (
<></>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ const ServiceConfig: FC<IData> = ({ uri, onConfigComplete }) => {
console.log(result);
onConfigComplete(keyConfig);
}
catch {
alert('Something went wrong, please check you have the function running and that it is accessible by the web app');
catch (e) {
alert('Something went wrong.\n\nDetails:\n' + e);
}

setIsBusy(false);
Expand Down