E3SM-Project / pace

Performance Analytics for Computational Experiments
https://pace.ornl.gov
BSD 3-Clause "New" or "Revised" License
3 stars 0 forks source link

Uploader error code #111

Closed gaurabkcutk closed 2 years ago

gaurabkcutk commented 2 years ago

error code added for the client

sarats commented 2 years ago

Were you able to test this? Not all error codes, even some to see if the error code is returned. In Bash, you can do echo $? after you run the script will give you error code from the last command.

gaurabkcutk commented 2 years ago

I tested with invalid token and received expected error code 101

(pace-py3.6) [gaurab@e3sm client]$ ./pace-upload3 -pa /home/gaurab/exp-haod776-105119 ERROR: Github authentication failed, Invalid Token. (pace-py3.6) [gaurab@e3sm client]$ echo $? 101