-
Notifications
You must be signed in to change notification settings - Fork 9
Error handle message #146
Copy link
Copy link
Open
Labels
Description
In this function, we should provide an error message for developers to understand WHY plugin installation failed.
Lines 96 to 103 in 90fae47
| async function download(url: string) { | |
| const data = await fetch(url, { method: 'GET' }) | |
| .then((res) => res.text()) | |
| .catch(() => null); | |
| if (!data) throw new Error('Download failed! Kindly contact developers'); | |
| return data; |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Todo