use fetch for nicer error messages
Merge pull request #20 from grosser/fetch

use fetch for nicer error messages