Skip to content

Commit

Permalink
Merge e2cdbe1 into 0473cb9
Browse files Browse the repository at this point in the history
  • Loading branch information
nwalters512 committed Nov 25, 2021
2 parents 0473cb9 + e2cdbe1 commit 652f444
Show file tree
Hide file tree
Showing 5 changed files with 186 additions and 219 deletions.
6 changes: 1 addition & 5 deletions lib/assessment.js
Original file line number Diff line number Diff line change
Expand Up @@ -550,11 +550,7 @@ module.exports = {
(err) => {
if (ERR(err, () => {})) {
// FIXME: call sprocs/errors_insert here
logger.error('processGradingResult: error', {
message: err.message,
stack: err.stack,
data: JSON.stringify(err.data),
});
logger.error('processGradingResult: error', err);
}
externalGradingSocket.gradingJobStatusUpdated(content.gradingId);
}
Expand Down
6 changes: 6 additions & 0 deletions lib/externalGraderCommon.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@ module.exports.getJobDirectory = function (jobId) {

/**
* Constructs a directory of files to be used for grading.
*
* @param {string} dir
* @param {any} submission
* @param {any} variant
* @param {any} question
* @param {any} course
*/
module.exports.buildDirectory = function (dir, submission, variant, question, course, callback) {
const coursePath = chunks.getRuntimeDirectoryForCourse(course);
Expand Down
Loading

0 comments on commit 652f444

Please sign in to comment.