Phantom worker now returns an error object as first argument