Minor - MigrationMoodle: Catch exception - refs BT#15992

pull/3127/head
Angel Fernando Quiroz Campos 6 years ago
parent 8657afc6fc
commit 593d2c27a3
  1. 2
      plugin/migrationmoodle/admin.php

@ -109,6 +109,8 @@ if (!empty($action) && isAllowedAction($action, $menu)) {
$task->execute();
} catch (MigrationMoodleException $exception) {
$exception->displayAsString();
} catch (Exception $exception) {
echo $exception->getTraceAsString();
}
echo '</pre>';

Loading…
Cancel
Save