Exception is not defined ( in temperature monitoring project)

Error : Exception is not defined
This error is coming while I’m running my code
The indentations are also correct
Please can anyone tell me what is the solution of this

Hello @saqeebmomin60
Please cheak your code in file temp_sms.py
In line 23 first letter of Exception is capital.
please do the correction than run.
Hope this information is useful for you.

1 Like