Index: gc_core/js/lang_core/gc_engine.js ================================================================== --- gc_core/js/lang_core/gc_engine.js +++ gc_core/js/lang_core/gc_engine.js @@ -167,11 +167,11 @@ } } } catch (e) { echo(s); - echo("# id-rule:" + sLineId); + echo("# line id: " + sLineId + "\n# rule id: " + sRuleId); helpers.logerror(e); } } } } Index: gc_core/py/lang_core/gc_engine.py ================================================================== --- gc_core/py/lang_core/gc_engine.py +++ gc_core/py/lang_core/gc_engine.py @@ -124,11 +124,11 @@ else: echo("# error: unknown action at " + sLineId) elif cActionType == ">": break except Exception as e: - raise Exception(str(e), sLineId) + raise Exception(str(e), "# " + sLineId + " # " + sRuleId) if bChange: return (s, dErrs) return (False, dErrs)