Skip to content

Commit

Permalink
Address review comment
Browse files Browse the repository at this point in the history
  • Loading branch information
mattrunyon committed Apr 14, 2023
1 parent 48f4a09 commit 98e83e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/code-studio/src/plugins/PluginUtils.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ class PluginUtils {
): Promise<{ plugins: { name: string; main: string }[] }> {
const res = await fetch(jsonUrl);
if (!res.ok) {
throw res.statusText;
throw new Error(res.statusText);
}
try {
return await res.json();
Expand Down

0 comments on commit 98e83e1

Please sign in to comment.