better debugging for integer parsing errors