
Tried making this to handle existing sessions: Https://github.com/appwrite/appwrite/discussions/3938#discussioncomment-3746725
When using account.get() to see if there is a session or not, instead of catching the exception, it just shows unhandled exception general authorization scope in the console (not printing the error and not making what's inside catch(e)).
Here is the code used:
manageLogin() {
try{
account.get();
}
catch(e){
print(e);
}
}

this function needs async
await

I will try that

Yes, worked 😅

[SOLVED] Manage unhandled exception
Recommended threads
- Still an issue? On user deletion, target...
This has been mentioned here: https://discord.com/channels/564160730845151244/1295830646039515146 and as a Github issue here: https://github.com/appwrite/appwri...
- Appwrite database is rounding int values
Hi, i just noticed that appwrite is rounding the value 608542412536545279 to 608542412536545300 in my int array. It seems to somewhat relate to this github iss...
- OAuth fails with Invalid Response or inv...
Im currently trying to use the Discord Oauth but i cant find a way to make it work. I followed the docs and set up the discord oauth application and enabled it...
