deesnow / ossi_tool

ISC License
4 stars 8 forks source link

Command error to output.csv #9

Closed deesnow closed 4 years ago

deesnow commented 4 years ago

From @fiodorpugach

"My input.csv file has multiple 'remove station xxxxx' lines. It works fine, but on any error (like station in use, bridged line appearance should be removed, etc.) it drops to terminal just 'command error' statement without actual error text. Output.csv file does not even have 'command error' statements, it has only input command echo. It will be nice to have at least 'command error' statements in output.csv file; it will be perfect to have actual error text in output.csv."

deesnow commented 4 years ago

0.4rc1 is contains solution for this request. At the end of the output.csv there will be a error dump part like this:

*** ERROR DUMP ***
disp  sta 340999
-------------------------
e1 00000000 8fd6 Extension assigned to an object other than a station

*** END OF ERROR DUMP ***
deesnow commented 4 years ago

0.4rc2 released