salopensource / sal-scripts

Apache License 2.0
23 stars 31 forks source link

Add try/except to sending catalog information #35

Closed aschwanb closed 6 years ago

aschwanb commented 6 years ago

If catalogs are to large, the argument list for subprocess will be to long. This will result in OSError: [Errno 22] Invalid argument.

By adding try/except around the relevant code, we ensure that at least the rest of the report is submitted.