pothos-library: fix dtype warning unused exception