[sr-dev] git:master:b02c2470: app_python: check if f_code field in frame is set before using in log message