On Thu, Mar 14, 2013 at 2:16 PM, Matt <[email protected]> wrote:
> Discussion here: https://github.com/joyent/node/issues/5005
>
> If you've ever done something like:
>
>     fs.unlink(file); // don't care if it works or not
>
> This won't work in v0.10.0 any more. If you want to ignore errors you need
> to pass in an empty callback. Just wanted to post a heads-up here as this
> bit me.

v0.10.1 will revert to the old behavior for now.

Relying on the implicit callback to swallow errors is deprecated
however.  v0.12 will throw the errors as exceptions.

-- 
-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to