Open replaceafill opened 4 years ago
Expected behaviour
The output of the Upload DIP job signals success and error states clearly.
Upload DIP
Current behaviour
Even if the DIP uploads successfully to AtoM all the logged lines in the job output start with ERROR:
ERROR
The problem seems to be that the upload_qubit client script is using a single function to do all the logging and calls logger.error every time.
upload_qubit
logger.error
Steps to reproduce
Your environment (version of Archivematica, operating system, other relevant details)
docker compose https://github.com/artefactual-labs/am/commit/6031e67f8ffad3fc353198bb2ec527a13277426c
For Artefactual use:
Before you close this issue, you must check off the following:
Related to https://github.com/archivematica/Issues/issues/26
Also good use of good first issue @replaceafill. Nice.
good first issue
Expected behaviour
The output of the
Upload DIP
job signals success and error states clearly.Current behaviour
Even if the DIP uploads successfully to AtoM all the logged lines in the job output start with
ERROR
:The problem seems to be that the
upload_qubit
client script is using a single function to do all the logging and callslogger.error
every time.Steps to reproduce
Upload DIP
job and notice all the lines in the output start withERROR
Your environment (version of Archivematica, operating system, other relevant details)
docker compose https://github.com/artefactual-labs/am/commit/6031e67f8ffad3fc353198bb2ec527a13277426c
For Artefactual use:
Before you close this issue, you must check off the following: