Merge pull request #7064 from OscarDHdz/master

Fix Template Load Error
This commit is contained in:
Tim Hansen
2021-09-04 15:39:22 -06:00
committed by GitHub
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-scaffolder': patch
---
Fix display error when it fails to load a template (/create) page
+1 -1
View File
@@ -136,7 +136,7 @@ export class ScaffolderClient implements ScaffolderApi {
});
if (!response.ok) {
throw ResponseError.fromResponse(response);
throw await ResponseError.fromResponse(response);
}
const schema: TemplateParameterSchema = await response.json();