Fixed a missing await when throwing server side errors
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
This commit is contained in:
@@ -49,7 +49,7 @@ export class StaticSchemaLoader implements ConfigSchemaApi {
|
||||
return undefined;
|
||||
}
|
||||
|
||||
throw ResponseError.fromResponse(res);
|
||||
throw await ResponseError.fromResponse(res);
|
||||
}
|
||||
|
||||
return await res.json();
|
||||
|
||||
Reference in New Issue
Block a user