Deluge proper error logging. fix #2069