Skip to content

Push Action fails when Debug and Verbose are set to "1"  #77

@dzemp

Description

@dzemp

Describe the bug
Debug and Verbose are both set to "1" in azops.yml. AzOps Push Action now fails with the following error message returned:

Confirm
Are you sure you want to perform this action?
Performing the operation "Start-AzOpsNativeExecution" on target "Update
ErrorActionPreference to Continue?".
[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help
Write-AzOpsLog: /action/entrypoint.ps1:53
Line |
53 | Write-AzOpsLog -Level Error -Topic "entrypoint" -Message …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| [2020-07-14 08:55:50.2249] (entrypoint) Exception calling
| "ShouldProcess" with "1" argument(s): "Object reference not
| set to an instance of an object."

(default is "Y"):

Steps to reproduce

  1. Set Debug and Verbose in azops.yml to "1"
  2. Create PR that invokes Push Action

Screenshots

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions