PrefectHQ / terraform-provider-prefect

Terraform Provider for Prefect Cloud
https://registry.terraform.io/providers/PrefectHQ/prefect/latest/docs
Apache License 2.0
33 stars 16 forks source link

fix(blocks): add slug name to error messaging for block type/schema fetch failure #214

Closed parkedwards closed 3 months ago

parkedwards commented 3 months ago

when an incorrect slug is provided, the error can be hard to track down. to help, we'll print the slug itself in the error message

this is the current error message

Could not get_by_slug Block Type, unexpected error: All attempts fail:
#1: status code 404 Not Found, error={"detail":"Block type not found"}