Skip to content

Commit 98e83e1

Browse files
committed
Address review comment
1 parent 48f4a09 commit 98e83e1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/code-studio/src/plugins/PluginUtils.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ class PluginUtils {
6060
): Promise<{ plugins: { name: string; main: string }[] }> {
6161
const res = await fetch(jsonUrl);
6262
if (!res.ok) {
63-
throw res.statusText;
63+
throw new Error(res.statusText);
6464
}
6565
try {
6666
return await res.json();

0 commit comments

Comments
 (0)