fetcher: Add debug info for #692

This commit is contained in:
Hylke Bons 2012-04-11 12:51:53 +02:00
parent 19aed69038
commit 6ae0ca58b2

View file

@ -201,9 +201,12 @@ namespace SparkleLib.Git {
public override void Stop ()
{
if (this.git != null && !this.git.HasExited) {
try {
this.git.Kill ();
this.git.Dispose ();
} catch (Exception e) {
SparkleHelpers.DebugInfo ("Fetcher", "Failed to cancel: " + e.Message);
}
Dispose ();
@ -242,7 +245,7 @@ namespace SparkleLib.Git {
writer.WriteLine (config);
writer.Close ();
SparkleHelpers.DebugInfo ("Config", "Added configuration to '" + repo_config_file_path + "'");
SparkleHelpers.DebugInfo ("Fetcher", "Added configuration to '" + repo_config_file_path + "'");
}