diff options
author | Thomas White <taw@physics.org> | 2021-07-06 12:21:26 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2021-07-06 12:21:26 +0200 |
commit | 9d058d731c128d6ac583eae0efe12153467dec5b (patch) | |
tree | c2cdefa153e0d627fff2995ef34064c2aee93f83 /src | |
parent | ea2bf83a3b345b3edfef116f9716ab57e72b143a (diff) |
SLURM: Show the real error message if job can't be submitted
Diffstat (limited to 'src')
-rw-r--r-- | src/gui_backend_slurm.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui_backend_slurm.c b/src/gui_backend_slurm.c index 3a9e514d..97c89be4 100644 --- a/src/gui_backend_slurm.c +++ b/src/gui_backend_slurm.c @@ -518,7 +518,8 @@ static struct slurm_job *start_slurm_job(enum gui_job_type type, free(job_desc_msg.account); free(job_desc_msg.script); if ( r ) { - ERROR("Couldn't submit job: %i\n", errno); + ERROR("Couldn't submit job: %s\n", + slurm_strerror(slurm_get_errno())); free(job); return NULL; } |