Skip to content
This repository was archived by the owner on Jun 28, 2025. It is now read-only.

Commit ad4f384

Browse files
author
Manuel Proß
committed
feat(web): add error messages
1 parent 9571bbe commit ad4f384

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

web/src/lib/auth/strapi.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ export const signIn = async (email: string, password: string) => {
1414
});
1515
return await response.json();
1616
} catch (e) {
17+
console.log(e);
1718
return null;
1819
}
1920
};
@@ -35,7 +36,8 @@ export const signUp = async (username: string, email: string, password: string,
3536
});
3637

3738
return await response.json();
38-
} catch {
39+
} catch (e) {
40+
console.log(e);
3941
return null;
4042
}
4143
};

0 commit comments

Comments
 (0)