It just silently does nothing at all. Regarding setting the default app, it's explained somehow somewhere in some xdg spec probably. But see https://wiki.archlinux.org/index.php/Default_applications for a quick setup.