We were probably silently catching a lot of ValueError and TypeError in these excepts so far, especially for getboolean and getint. Not sure if we should also handle that in here? Haven't tested with offending values yet :)
Originally posted by @nejch in #2212 (comment)