This is why an Exception gets raised: value is `None` so you won't be able to concatenate to a string.  This is very brittle code: if someone changes the debugging your app will no longer work!