Commit 10a62831 authored by Boxiang Sun's avatar Boxiang Sun

erp5_notebook: Fail if we encounter non-py code blocks.

parent f25e20a5
......@@ -267,6 +267,8 @@
if (language === 'py') {
console.log(line_list);
console.log("We are processing Python code!!!");
} else {
throw new Error('Unsupported code language: ' + language);
}
}
......
Markdown is supported
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