• Graham King's avatar
    fix(pystr): Output python errors (#99) · 9c7b1ead
    Graham King authored
    If the python file raises an exception we print it like Python would.
    
    ```
    $ ./target/debug/dynamo-run in=http out=pystr:~/Temp/cn47/1_e.py --model-name test
    
    Traceback (most recent call last):
      File "/home/graham/Temp/cn47/1_e.py", line 17, in generate
        raise MyException("The message")
    1_e.MyException: The message
    ```
    9c7b1ead
text.rs 8.79 KB