mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-31 23:03:54 +01:00
Catch exceptions
This commit is contained in:
parent
08e24d31a5
commit
82f2d58f58
2 changed files with 7 additions and 1 deletions
|
|
@ -123,6 +123,8 @@ public class UploadController {
|
|||
Log.e("UploadController", "IO Exception: ", e);
|
||||
} catch(NullPointerException e) {
|
||||
Log.e("UploadController", "Null Pointer Exception: ", e);
|
||||
} catch(SecurityException e) {
|
||||
Log.e("UploadController", "Security Exception: ", e);
|
||||
}
|
||||
|
||||
String mimeType = (String)contribution.getTag("mimeType");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue