if infoex['wx_data'] is None:
infoex['wx_data'] = []
- except Exception:
+ except Exception as exc:
LOG.error("Python program for custom Wx data failed in "
- "execution")
+ "execution: " + str(exc))
sys.exit(1)
LOG.info("Successfully executed external Python program")
LOG.error("Specified Python program for custom Wx data "
"was not found")
sys.exit(1)
+ except Exception as exc:
+ LOG.error("A problem was encountered when attempting to "
+ "load your custom Wx program: " + str(exc))
+ sys.exit(1)
LOG.info("Time taken to get all data : %.3f sec", time.time() -
time_all_elements)