Home
Options

Exception at LINQPad.TaskExtensions.GetResult

Hi, I have a script, which is called by

try{
Util.Run("cb_import_transactions.linq",QueryResultFormat.Text,...)
...
}
catch(Exception e){
...
}

among other scripts.
The script runs in loop.
Upon completion, the script sometimes (quite often) produces the error below:

System.Exception
at LINQPad.TaskExtensions.GetResult[T](Task`1 t)
at LINQPad.ChildAppHost.GetResult()
at LINQPad.ObjectModel.QueryExecuter.AsString()
at UserQuery.Main(String[] args) in C:\Users\sysadmin\AppData\Local\Temp\2\LINQPad5\_ouktijao\jcoszt\LINQPadQuery.cs:line 121

This happens with the specific child script only, other scripts are OK, but I cannot figure out what is the difference that could cause this error, all child scripts are similar. If any other script produces an exception, it is forwarded to the parent script correctly so normally I can see the full details of the original exception in the catch block.


Please advise.



Sign In or Register to comment.