I have a Python script running in an Azure timer function which keeps randomly failing and I am trying to figure out why. In the monitor tab, all it says is that the function failed.
I have tried logging the exception using a try-except statement but it doesn't make a difference:
import loggingtry:....except Exception: logging.exception("Exception raised: ")