nonCriticalErrors log 3gb+

  • Автор темы Автор темы osho
  • Дата начала Дата начала

osho

Client
Регистрация
20.03.2012
Сообщения
125
Реакции
5
Баллы
18
I've been running quite a few projects, and noticed my nonCriticalErrors text file was over 3gb (not the archived one). Is this intended/ok?
 
Just look what error logging over and over.
 
Ah, guess I should have looked closer :) I'll fix that JS...

2012-08-09 08:57:12.4280|DEBUG|CommandTransfer.MessagePerformer|System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> Microsoft.JScript.JScriptException: 'return' statement outside of function
at Microsoft.JScript.DocumentContext.HandleError(JScriptException error)
at Microsoft.JScript.Context.HandleError(JSError errorId, String message, Boolean treatAsError)
at Microsoft.JScript.JSParser.ReportError(JSError errorId, Context context, Boolean skipToken)
at Microsoft.JScript.JSParser.ParseReturnStatement()
at Microsoft.JScript.JSParser.ParseStatement()
at Microsoft.JScript.JSParser.ParseStatements(Boolean insideEval)
at Microsoft.JScript.Eval.DoEvaluate(Object source, VsaEngine engine, Boolean isUnsafe)
at Evaluator.Evaluator.Eval(String expr)
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle._InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeType typeOwner)
at System.RuntimeMethodHandle.InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeType typeOwner)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams)
at Global.JS.Evaluator.Eval(String jscode)
at CommandTransfer.MessagePerformer.IiZZd7JXq20Tml4nkA5(Object )
at CommandTransfer.MessagePerformer.m6etZ4B0uY(Object , EventArgs )
 
I have a js when no projects are ready from my server.. I run:

return 1;

I think Zenno just doesn't like that?
 

Кто просматривает тему: (Всего: 0, Пользователи: 0, Гости: 0)