We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c748c5a commit dd532f5Copy full SHA for dd532f5
src/lib/uploadWebFigma.ts
@@ -22,6 +22,9 @@ export default async (ctx: Context): Promise<string> => {
22
23
const responseData = await ctx.client.processWebFigma(requestBody, ctx.log);
24
ctx.log.debug("responseData : "+ JSON.stringify(responseData));
25
+ if (responseData && responseData.error && responseData.error.message) {
26
+ throw new Error(responseData.error.message);
27
+ }
28
29
if (responseData.data.message == "success") {
30
results = responseData.data.message;
0 commit comments