Skip to content

Commit

Permalink
make sure we can see the kind of error
Browse files Browse the repository at this point in the history
  • Loading branch information
julianjelfs committed Jul 19, 2024
1 parent 5398ec4 commit 3e7a56e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions frontend/app/src/components/register/Register.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,9 @@
};
dispatch("createdUser", createdUser);
} else {
error.set(`Unexpected register user response: ${resp}`);
}
});
error.set(`Unexpected register user response: ${resp.kind}`);
};
);
}
let selectedLocale = ($locale as string).substring(0, 2);
Expand Down

0 comments on commit 3e7a56e

Please sign in to comment.