Don't report success on connection failure

When adding torrents/magnets via link and the server was unavailable, the badge notification would still show a green "add" despite the failure. This fixes that.