Skip to content

Commit

Permalink
Fixed Error Handling
Browse files Browse the repository at this point in the history
  • Loading branch information
bhillkeyfactor committed Feb 26, 2024
1 parent ea92ba4 commit 3d8ccb1
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions PaloAlto/Jobs/Management.cs
Original file line number Diff line number Diff line change
Expand Up @@ -300,18 +300,14 @@ private JobResult PerformAddition(ManagementJobConfiguration config)
warnings +=
$"Could not Set The Bindings. There was an error calling out to bindings in the device. {Validators.BuildPaloError(bindingsResponse.Result)}";
}
else
{
warnings += bindingsValidation;
}

success = true;
}
}

if (content != null)
{
errorMsg = content.LineMsg != null ? Validators.BuildPaloError(content) : content.Text;
errorMsg += content.LineMsg != null ? Validators.BuildPaloError(content) : content.Text;
}
}

Expand Down

0 comments on commit 3d8ccb1

Please sign in to comment.