better error handling with portofino wrong code