Blame @rhattersley - he's got me shifting to lowercase as it is prefixed with 'ValueError: ' in the output. Happy either way to be honest.