bugfix error handling in PURL Request