Problem with MITMf

Here It sometime shows(unhandled error)
with(expectation caught here).
Sir,for what reason it’s displaying the error.
Here is the image-


Also,inject plugin is not working.
Sir ,please help.