Add error handling to the uploadnewversion widget.
Merge pull request #3374 from bp323/versionErrorHandling

Console errors when file upload fails