Skip to content

chore: improve constructor handling of marshall JSON for a debug call #650

@ShocOne

Description

@ShocOne

err113 has highlighted a code smell with our error handling design pattern.

Error: internal/resources/accountdrivenuserenrollmentsettings/constructor.go:29:15: do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf("failed to marshal Account Driven User Enrollment Settings to JSON: %v", err)" (err113)

https://github.com/deploymenttheory/terraform-provider-jamfpro/actions/runs/15019068427/job/42203716812

Currently silenced for future consideration on how we handle this.

Metadata

Metadata

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