Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sftp should fail on error #116

Open
chrisse27 opened this issue Jul 2, 2015 · 0 comments
Open

sftp should fail on error #116

chrisse27 opened this issue Jul 2, 2015 · 0 comments

Comments

@chrisse27
Copy link

Currently sftp only outputs a warning in errors such as "Permission denied":

02-Jul-2015 16:19:16    Running "sftp:uploadCoreConfiguration" (sftp) task
02-Jul-2015 16:19:17    >> Error: Permission denied
...
02-Jul-2015 16:19:18    Done, without errors.

This is due

        }, function (err) {
          if (err) {
            grunt.fail.warn(err);
          }
          c.end();
        });
      });

in line 361.

sftp should fail on errors of this kind.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant