diff --git a/src/srun/allocate.c b/src/srun/allocate.c
index 6b5aff69f627890bbd90061dd677d33940494617..ce61f600705e5319a6f8fe0ca99c60cb36f17bae 100644
--- a/src/srun/allocate.c
+++ b/src/srun/allocate.c
@@ -65,8 +65,11 @@ allocate_nodes(void)
 
 	while ((rc = slurm_allocate_resources(j, &resp) < 0) && _retry()) {;}
 
-	if ((rc == 0) && (resp->node_list == NULL))
+	if ((rc == 0) && (resp->node_list == NULL)) {
+		if (resp->error_code)
+			info("Warning: %s", slurm_strerror(resp->error_code));
 		_wait_for_resources(&resp);
+	}
 
 	job_desc_msg_destroy(j);
 
diff --git a/src/srun/srun.c b/src/srun/srun.c
index 3bddb558c3dade657fbd6d3e9cc12d79986a59ea..da1e168f56a16ef703366b3274a993e6e710543e 100644
--- a/src/srun/srun.c
+++ b/src/srun/srun.c
@@ -381,6 +381,8 @@ _run_batch_job(void)
 	
 	if (rc == SLURM_SUCCESS) {
 		info("jobid %u submitted",resp->job_id);
+		if (resp->error_code)
+			info("Warning: %s", slurm_strerror(resp->error_code));
 		slurm_free_submit_response_response_msg (resp);
 	}
 	xfree (job_script);