fetcher: Add debug info for #692
This commit is contained in:
parent
9c64c3fb50
commit
0a2f5929b6
|
@ -201,9 +201,12 @@ namespace SparkleLib.Git {
|
||||||
|
|
||||||
public override void Stop ()
|
public override void Stop ()
|
||||||
{
|
{
|
||||||
if (this.git != null && !this.git.HasExited) {
|
try {
|
||||||
this.git.Kill ();
|
this.git.Kill ();
|
||||||
this.git.Dispose ();
|
this.git.Dispose ();
|
||||||
|
|
||||||
|
} catch (Exception e) {
|
||||||
|
SparkleHelpers.DebugInfo ("Fetcher", "Failed to cancel: " + e.Message);
|
||||||
}
|
}
|
||||||
|
|
||||||
Dispose ();
|
Dispose ();
|
||||||
|
@ -242,7 +245,7 @@ namespace SparkleLib.Git {
|
||||||
writer.WriteLine (config);
|
writer.WriteLine (config);
|
||||||
writer.Close ();
|
writer.Close ();
|
||||||
|
|
||||||
SparkleHelpers.DebugInfo ("Config", "Added configuration to '" + repo_config_file_path + "'");
|
SparkleHelpers.DebugInfo ("Fetcher", "Added configuration to '" + repo_config_file_path + "'");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue