diff --git a/.github/workflows/moodle-ci.yml b/.github/workflows/moodle-ci.yml index e2b74f2..8c3cc7e 100644 --- a/.github/workflows/moodle-ci.yml +++ b/.github/workflows/moodle-ci.yml @@ -11,4 +11,4 @@ jobs: uses: Opencast-Moodle/moodle-workflows-opencast/.github/workflows/moodle-ci.yml@main with: requires-tool-plugin: true - branch-tool-plugin: main \ No newline at end of file + branch-tool-plugin: issue-56 diff --git a/uploadvideo.php b/uploadvideo.php index bbcf517..6356add 100644 --- a/uploadvideo.php +++ b/uploadvideo.php @@ -96,7 +96,7 @@ $seriesobj->isdefault = $series->identifier == $defaultseries ? 1 : 0; $seriesoption[$series->identifier] = $seriesobj; } - } catch (\block_opencast\opencast_connection_exception $e) { + } catch (\tool_opencast\exception\opencast_api_response_exception $e) { \core\notification::warning($e->getMessage()); foreach ($seriesrecords as $series) { $seriesobj = new \stdClass();