Skip to content

Commit 0429ef5

Browse files
committed
added error logging
1 parent f6e3bbf commit 0429ef5

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

run.cake

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -432,6 +432,7 @@ Task("Publish-AppVeyor")
432432
.OnError(exception =>
433433
{
434434
Information("Publish-AppVeyor Task failed, but continuing with next Task...");
435+
Error(exception.Dump());
435436
publishingError = true;
436437
});
437438

@@ -454,6 +455,7 @@ Task("Publish-AzurePipeline")
454455
.OnError(exception =>
455456
{
456457
Information("Publish-AzurePipeline Task failed, but continuing with next Task...");
458+
Error(exception.Dump());
457459
publishingError = true;
458460
});
459461

@@ -483,6 +485,7 @@ Task("Publish-Tfs")
483485
.OnError(exception =>
484486
{
485487
Information("Publish-Tfs Task failed, but continuing with next Task...");
488+
Error(exception.Dump());
486489
publishingError = true;
487490
});
488491

@@ -510,6 +513,7 @@ Task("Publish-Gem")
510513
.OnError(exception =>
511514
{
512515
Information("Publish-Gem Task failed, but continuing with next Task...");
516+
Error(exception.Dump());
513517
publishingError = true;
514518
});
515519

@@ -550,6 +554,7 @@ Task("Publish-DockerHub")
550554
.OnError(exception =>
551555
{
552556
Information("Publish-DockerHub Task failed, but continuing with next Task...");
557+
Error(exception.Dump());
553558
publishingError = true;
554559
});
555560

@@ -587,6 +592,7 @@ Task("Publish-NuGet")
587592
.OnError(exception =>
588593
{
589594
Information("Publish-NuGet Task failed, but continuing with next Task...");
595+
Error(exception.Dump());
590596
publishingError = true;
591597
});
592598

@@ -625,6 +631,7 @@ Task("Publish-Chocolatey")
625631
.OnError(exception =>
626632
{
627633
Information("Publish-Chocolatey Task failed, but continuing with next Task...");
634+
Error(exception.Dump());
628635
publishingError = true;
629636
});
630637

0 commit comments

Comments
 (0)