This is pretty much an obvious fix. It's doing a tostring, possible, on something that is undefined. So not much worth adding.