Added ignore-errors wrapper to avoid issue when login fails in error clause (or anything else goes wrong, really)