Spaces:
Sleeping
Sleeping
Update index.js
Browse files
index.js
CHANGED
|
@@ -33,7 +33,7 @@ app.post("/compile", (req, res) => {
|
|
| 33 |
(error, stdout, stderr) => {
|
| 34 |
if (error) {
|
| 35 |
console.error(error);
|
| 36 |
-
res.send({error:
|
| 37 |
return;
|
| 38 |
}
|
| 39 |
|
|
|
|
| 33 |
(error, stdout, stderr) => {
|
| 34 |
if (error) {
|
| 35 |
console.error(error);
|
| 36 |
+
res.send({error:stderr});
|
| 37 |
return;
|
| 38 |
}
|
| 39 |
|