diff --git a/webservice/webservice.py b/webservice/webservice.py index 618e2bffaf82681f0ac13c28bf468ce17761e92a..b4348eddb2abaa56b1d4d2d42c1436d11645a345 100644 --- a/webservice/webservice.py +++ b/webservice/webservice.py @@ -698,6 +698,9 @@ async def get_slurm_nice(partition: str, instrument: str, code, job_names = await run_proc_async( ['squeue', '-h', '-o', '%.20j', '-p', partition, '--me']) + print('squeue return code', code) + print('squeue output:', job_names) + if code != 0: return 0 # Fallback if something went wrong.