Quantcast
Channel: Active questions tagged python - Stack Overflow
Viewing all articles
Browse latest Browse all 23131

Log errors from a Python Azure Function App?

$
0
0

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: ")

Viewing all articles
Browse latest Browse all 23131

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>