fixed invalid exception catching in upload component in web interface