oh, noticed the default `ret = 2`. Still, printing error message wouldn't hurt.