RockefellerArchiveCenter / dart_digitization

MIT License
0 stars 0 forks source link

Better exception handling when calling DART #14

Closed bonniegee closed 2 years ago

bonniegee commented 2 years ago

The exception handling for when DART fails needs to account for stderr or stdout not having a value. This is an example of the failure:

'NoneType' object has no attribute 'decode'

And this is what we should be getting instead: error: undefined\r\r\nError: Error creating job.\r\nworkflow: Cannot find workflow "Digitization Workflow"\r\n