Error log on CDSTAR failures incomplete
Upon errors while uploading files to CDSTAR, the errors are highly non-informative:
There was an error, Check the server logs
The server logs give no further information, making configuration errors very hard to detect.
To solve this issue, the main.py
has to be extended to create some useful output from the catched exceptions. The Python sys module should provide everything needed to do so.
It is desirable to add information about the exception to the server logs as well as the error output responded to AW in order to detect configuration errors directly from AW (e.g. wrong hosts, wrong authentication details, ...)