Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sonalyze client hides error messages from the server #678

Open
lars-t-hansen opened this issue Nov 13, 2024 · 0 comments
Open

sonalyze client hides error messages from the server #678

lars-t-hansen opened this issue Nov 13, 2024 · 0 comments
Labels
component:sonalyze sonalyze/* task:bug Something isn't working task:ux User experience, both web and command line

Comments

@lars-t-hansen
Copy link
Collaborator

Consider:

$ sonalyze profile -cluster fox -user ec-emmaste -from 5d -j 969024 -fmt awk,cpu,cmd,pid -v
NOTE, we will kill the request if no response after %!s(int=3600) seconds
Executing </usr/bin/curl --silent --fail-with-body --location --netrc-file /home/larstha/.ssh/sonalyzed-auth.netrc --get https://naic-monitor.uio.no/profile?cluster=fox&from=5d&user=ec-emmaste&job=969024&fmt=awk%2Ccpu%2Ccmd%2Cpid>
Output from failed (exit status 22) subprocess: Failed to perform operation
Not a known field: cmdexit status 22

But without the -v all we get is 'exit status 22'. This is bad: the error, "Not a known field: cmd" is completely crucial.

@lars-t-hansen lars-t-hansen added task:bug Something isn't working task:ux User experience, both web and command line component:sonalyze sonalyze/* labels Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:sonalyze sonalyze/* task:bug Something isn't working task:ux User experience, both web and command line
Projects
None yet
Development

No branches or pull requests

1 participant