Skip to content

Conversation

bdunne
Copy link
Member

@bdunne bdunne commented Aug 26, 2013

Strip params to avoid clear text passwords

@bdunne
Copy link
Member Author

bdunne commented Aug 26, 2013

@jrafanie please review

@Fryguy
Copy link
Member

Fryguy commented Aug 26, 2013

I'm thinking if we decide to create a new Exception class it should derive from Errno::ENOENT, so callers can still catch that Exception.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggest trimming up the whitespace on lines 27 and 31

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.08%) when pulling 2b05f81 on brandondunne:strip_params_from_no_such_file_or_directory_errors into 6c49753 on ManageIQ:master.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ETOOMANYMESSAGES...

It doesn't look like you care about the exception other than it's message. So, just pass in the message.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.08%) when pulling 2e09a47 on brandondunne:strip_params_from_no_such_file_or_directory_errors into c963d99 on ManageIQ:master.

@bdunne
Copy link
Member Author

bdunne commented Aug 27, 2013

@jrafanie @Fryguy PR updated based on discussion

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.08%) when pulling 2e09a47 on brandondunne:strip_params_from_no_such_file_or_directory_errors into c963d99 on ManageIQ:master.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.08%) when pulling 2e09a47 on brandondunne:strip_params_from_no_such_file_or_directory_errors into c963d99 on ManageIQ:master.

Fryguy added a commit that referenced this pull request Aug 27, 2013
…le_or_directory_errors

Raise specific NoSuchFileError for missing files
@Fryguy Fryguy merged commit 924f295 into ManageIQ:master Aug 27, 2013
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

Successfully merging this pull request may close these issues.

4 participants