Python Dynamically Add Variable Into Exception Message