pcdshub / pytmc

Generate EPICS IOCs and records from TwinCAT projects - along with many TwinCAT project tools
https://pcdshub.github.io/pytmc/
Other
10 stars 11 forks source link

Describe process error #184

Closed n-wbrown closed 4 years ago

n-wbrown commented 4 years ago

Provide the name of TwinCAT variable when the db.process fails to build a record from the chain.

Example output:

ERROR:pytmc.bin.db:Error creating record: GVL_GMD.fb_EM1K0_GMD_GPI_10.PG.eState 'EnumInfo' object has no attribute 'Enum'

Open to feedback as always.

codecov-io commented 4 years ago

Codecov Report

Merging #184 into master will not change coverage. The diff coverage is 0%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #184   +/-   ##
=======================================
  Coverage   79.57%   79.57%           
=======================================
  Files          18       18           
  Lines        2208     2208           
=======================================
  Hits         1757     1757           
  Misses        451      451
Impacted Files Coverage Δ
pytmc/bin/db.py 46.84% <0%> (ø) :arrow_up:
pytmc/pragmas.py 96.33% <0%> (ø) :arrow_up:
pytmc/bin/stcmd.py 86.99% <0%> (ø) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 5e75b4a...ef3957f. Read the comment docs.