Displaying error message if upload fails

Fixes #18