Adjust rendering of backend errors
Co-authored-by: Fredrik Adelöw <freben@users.noreply.github.com> Signed-off-by: Tejas Kumar <tejask@spotify.com>
This commit is contained in:
@@ -108,7 +108,7 @@ export const StepInitAnalyzeUrl = ({
|
||||
}
|
||||
}
|
||||
} catch (e) {
|
||||
setError(e.message);
|
||||
setError(e.data?.error?.message ?? e.message);
|
||||
setSubmitted(false);
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user