handle error 404 by catching FileNOTFoundException
add try catch and fix indentation
fixed missing curly bracket
pass along error message if server return error
Merge pull request #2 from esoekianto/pass-along-http-error-3

test