Comments (2)
Make sure to await the result if you want to catch the exceptions.
from unity-google-drive.
Make sure to await the result if you want to catch the exceptions.
Sorry for the late reply.
The problem is that there is no exception to catch even if you await.
For example: if Helpers.ValidatePath() detects an error it simple returns null which could mean anything: file not found, cant resolve host, etc...
It would be nice if it would either generate an exception or at least pass on the error code. As it is it simply eats the error code. Since this is a package, you can't modify it. So instead you have to make a copy and modified the copy.
from unity-google-drive.
Related Issues (20)
- Installing to Android devices HOT 2
- How do I get the contents of a shared folder? HOT 2
- Game crashes while authorizing HOT 3
- Missing AppAuth.h with playservices updated HOT 1
- 403 error: The request is missing a valid API key HOT 6
- Update Files.List request to support new "AllDrives" parameters HOT 1
- ActivityNotFoundException on Android SDK 30 HOT 3
- Specifying "Name" does not work, always 'Untitled'. HOT 1
- Fix example links in readme HOT 2
- ActivityNotFoundException (com.elringus.unitygoogledriveandroid.AuthorizationActivity) for Android API >= 30 HOT 21
- Only I can upload to my Drive HOT 3
- Add Google Drive change events HOT 7
- Google sign loopback authorization system deprecated HOT 8
- 'Ambiguous overloads found' exception when closing Google sign-in screen HOT 3
- Working on Unity but not on Device HOT 9
- Platform-specific client ID
- Add an option to use specific port for redirct uri under loopback scheme HOT 6
- Add an option to determine the need of prompting for permissions HOT 2
- android.content.ActivityNotFoundException HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from unity-google-drive.