Commit 3f1e5f19 authored by alan's avatar alan
Browse files

fixed out of check message with no part specified

parent e315c822
...@@ -132,7 +132,7 @@ def check(lab, part, **kwargs): ...@@ -132,7 +132,7 @@ def check(lab, part, **kwargs):
if 'check' in info: if 'check' in info:
if is_rate_limited(cmd="check", lab=labname, part=partstr): if is_rate_limited(cmd="check", lab=labname, part=partstr):
error(f"Skipping {labname} - part {part} - {partstr} check, since you are out of checks!") error(f"Skipping {labname} - part {info['index']} - {partstr} check, since you are out of checks!")
continue continue
c = Checker(checkinfo=info, c = Checker(checkinfo=info,
......
...@@ -73,7 +73,6 @@ function onError(error) { ...@@ -73,7 +73,6 @@ function onError(error) {
process.exit(1); process.exit(1);
break; break;
default: default:
debug ('got error', error)
throw error; throw error;
} }
} }
......
var express = require('express'); var express = require('express');
const { path } = require('../app');
// is this needed?
//const { path } = require('../app');
var router = express.Router(); var router = express.Router();
var debug = require('debug')('app:users'); var debug = require('debug')('app:users');
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment