Added errorhandling on webdump