Update UploadManager.java

Attach the cause of the exception