Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
04/24/09 14:35:35 (15 years ago)
Author:
kgrading
Message:

added proper exception handling (#601)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Hive.Client.Core/3.2/Core.cs

    r1635 r1655  
    211211          files.AddRange(plugininfo.PluginFiles);
    212212       
    213         AppDomain appDomain = PluginManager.Manager.CreateAndInitAppDomainWithSandbox(e.Result.Job.Id.ToString(), sandboxed, null, files);
     213        AppDomain appDomain = PluginManager.Manager.CreateAndInitAppDomainWithSandbox(e.Result.Job.Id.ToString(), sandboxed, typeof(Engine.HiveEngine), files);
    214214        appDomain.UnhandledException += new UnhandledExceptionEventHandler(appDomain_UnhandledException);
    215215        lock (engines) {                   
     
    298298
    299299    void appDomain_UnhandledException(object sender, UnhandledExceptionEventArgs e) {
    300       Logging.Instance.Error(this.ToString(), " Exception: " + e.ExceptionObject.ToString());
     300      Logging.Instance.Error(this.ToString(), "Exception in AppDomain: " + e.ExceptionObject.ToString());
     301     
    301302    }
    302303  }
Note: See TracChangeset for help on using the changeset viewer.