Bug 140620 Chart scripting errors are ignored
Write a chart with an invalid script, the execution simply ignores the script. This makes it difficult to debug scripting. The error message is also not precise and needs improvements.
chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/script/ScriptHandler.java
{
			
			scope = new ImporterTopLevel( cx );
		}
		else
		{
			try
			{
				scope = cx.newObject( scPrototype );
			}
			catch ( JavaScriptException jsx )
			{
				Context.exit( );
				throw new ChartException( ChartEnginePlugin.ID,
						ChartException.SCRIPT,
						jsx );
			}
			scope.setPrototype( scPrototype );
			
			
		}
		
		
		
		
		
		
		
		final Object oConsole = Context.javaToJS( logger, scope );
		scope.put( "logger", scope, oConsole );