deletions: better logging messages, errorhandler uses correct function