Should check traceback

When an error from Python is intercepted in the C layer, the traceback value should be checked if it is set