collectivemedia / celos

Scriptable scheduler for periodical Hadoop workflows
Apache License 2.0
22 stars 9 forks source link

If an error happens in celos-scripts.js, then the filename in the error message will refer to the currently executed JS file #676

Open manuel opened 8 years ago

manuel commented 8 years ago

E.g. if somebody calls a function from celos-scripts.js that throws an error, they will get a message saying something like

ERROR: Failed to load file: /etc/celos/workflows/audience-modeling-etl.js: Undefined seconds (/etc/celos/workflows/audience-modeling-etl.js#170

where the line number erroneously refers to celos-scripts.js.

manuel commented 8 years ago

Fixed by #723