Skip to content

Commit

Permalink
webui: fix wrong method call to get exception message
Browse files Browse the repository at this point in the history
  • Loading branch information
fbergkemper committed Mar 9, 2023
1 parent f7babf5 commit 68ec870
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions webui/module/Job/src/Job/Controller/JobController.php
Expand Up @@ -674,7 +674,7 @@ public function getDataAction()
$jobs_R
);
} catch (Exception $e) {
echo $e->getMessages();
echo $e->getMessage();
}
} elseif ($data == "details") {
try {
Expand All @@ -698,7 +698,7 @@ public function getDataAction()
try {
$result = $this->getJobModel()->getJobsToRerun($this->bsock, $period, null);
} catch (Exception $e) {
echo $e->getMessages();
echo $e->getMessage();
}
} elseif ($data == "job-rerun") {
try {
Expand Down Expand Up @@ -795,7 +795,7 @@ public function getDataAction()

$result = $jobs;
} catch (Exception $e) {
echo $e->getMessages();
echo $e->getMessage();
}
}

Expand Down

0 comments on commit 68ec870

Please sign in to comment.