Skip to content

Commit

Permalink
CDAP-20603 Ensure error messages are shown when creating a Wrangler w…
Browse files Browse the repository at this point in the history
…orkspace
  • Loading branch information
njbriggs committed May 3, 2023
1 parent ea4d6d1 commit cfd26e6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ export function GenericBrowser({ initialConnectionId, onEntityChange, selectedPa

const onCreateWorkspace = async (entity, parseConfig = {}) => {
try {
createWorkspaceInternal(entity, parseConfig);
await createWorkspaceInternal(entity, parseConfig);
} catch (e) {
setError(`Failed to create workspace. Error: ${e}`);
setLoading(false);
Expand Down

0 comments on commit cfd26e6

Please sign in to comment.