Skip to content

Commit

Permalink
Merge 64e7a51 into 345085a
Browse files Browse the repository at this point in the history
  • Loading branch information
nwalters512 committed Feb 8, 2022
2 parents 345085a + 64e7a51 commit 388e343
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 388e343

Please sign in to comment.