Skip to content

Commit

Permalink
Merge pull request #79 from mebis-lp/MBS-7391-Replace_print_error_by_…
Browse files Browse the repository at this point in the history
…moodle_exception

MBS-7391: Replace the deprecated print_error by moodle exception
  • Loading branch information
Ampsicora authored Feb 26, 2024
2 parents 8882631 + 3c0b7ac commit b0c057a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion collector.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
throw $exception;
}
} else {
print_error("There was a problem with decoding JSON report.");
throw new \moodle_exception("There was a problem with decoding JSON report.");
}

/**
Expand Down

0 comments on commit b0c057a

Please sign in to comment.