Skip to content

Commit a378608

Browse files
committed
Dont use Log. in the Continuation
1 parent 82c1d95 commit a378608

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/Xamarin.Android.Build.Tasks/Tasks/GetAdditionalResourcesFromAssemblies.cs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -428,8 +428,10 @@ public override bool Execute ()
428428
}
429429
}
430430
}, Token).ContinueWith ((t) => {
431-
if (t.Exception != null)
432-
Log.LogErrorFromException (t.Exception.GetBaseException ());
431+
if (t.Exception != null) {
432+
var ex = t.Exception.GetBaseException ();
433+
LogError (ex.Message + Environment.NewLine + ex.StackTrace);
434+
}
433435
Complete ();
434436
}).ConfigureAwait (false);
435437

0 commit comments

Comments
 (0)