Title: Message Title
Adrien Thebo commented on an issue
Puppet / Bug PUP-3153
Need to guard against `nil` when calling `Uniquefile#close!` in `ensure` blocks
in `util.rb#replace_file`, there is an `ensure` block that calls `close!` on the `Uniquefile` object. However, if an exception is thrown during the call to the constructor for `Uniquefile` (e.g., if the user does not have write permissions to the specified directory), then this attempt to call `close!` will result in a NilClass exception, which will mask...

--
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.

Reply via email to