Chutzpah prints:
JS Error: SyntaxError: Parse error
...and continues to run. In the generated JavaScript file, I see:
Conversion Error!!! - please report this if it happens frequently: SassAndCoffee.JavaScript.ActiveScript.ActiveScriptException: Error in [Microsoft JScript runtime error]:
Parse error on line 53: Unexpected ','
at line 8(120481)
Error Code: -2146823266 (0x800A139E)
Error WCode: 0
at SassAndCoffee.JavaScript.IEJavaScriptRuntime.ThrowError()
at SassAndCoffee.JavaScript.IEJavaScriptRuntime.ExecuteFunction[T](String functionName, Object[] args)
at SassAndCoffee.JavaScript.JavaScriptCompilerBase.Compile(String source, Object[] args)
at Chutzpah.Wrappers.SingleThreadedJavaScriptHostedCompiler.<.cctor>b__0() in C:\Users\Per\Documents\Projects\Chutzpah\Chutzpah\Wrappers\SingleThreadedJavaScriptHostedCompiler.cs:line 70
It would be nice if Chutzpah would print all possible details about the parse error (script file + details from the exception message above) and then simply exit.
Comments: Fixed in changeset f8e41abb63a0effff6733d5e3612cae8d66a46f8
JS Error: SyntaxError: Parse error
...and continues to run. In the generated JavaScript file, I see:
Conversion Error!!! - please report this if it happens frequently: SassAndCoffee.JavaScript.ActiveScript.ActiveScriptException: Error in [Microsoft JScript runtime error]:
Parse error on line 53: Unexpected ','
at line 8(120481)
Error Code: -2146823266 (0x800A139E)
Error WCode: 0
at SassAndCoffee.JavaScript.IEJavaScriptRuntime.ThrowError()
at SassAndCoffee.JavaScript.IEJavaScriptRuntime.ExecuteFunction[T](String functionName, Object[] args)
at SassAndCoffee.JavaScript.JavaScriptCompilerBase.Compile(String source, Object[] args)
at Chutzpah.Wrappers.SingleThreadedJavaScriptHostedCompiler.<.cctor>b__0() in C:\Users\Per\Documents\Projects\Chutzpah\Chutzpah\Wrappers\SingleThreadedJavaScriptHostedCompiler.cs:line 70
It would be nice if Chutzpah would print all possible details about the parse error (script file + details from the exception message above) and then simply exit.
Comments: Fixed in changeset f8e41abb63a0effff6733d5e3612cae8d66a46f8