aboutsummaryrefslogtreecommitdiff
path: root/src/app/register.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/app/register.tsx')
-rw-r--r--src/app/register.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/app/register.tsx b/src/app/register.tsx
index aac588d..108761f 100644
--- a/src/app/register.tsx
+++ b/src/app/register.tsx
@@ -38,7 +38,7 @@ export default function RegisterScreen() {
router.replace('/');
}
} catch (err: any) {
- Alert.alert('Erro no cadastro', 'Verifique seus dados.');
+ Alert.alert('Erro no cadastro', err.message || 'Verifique seus dados.');
setIsLoading(false);
}
}