Change error message to avoid unrelated error grouping on sentry
parent
14cb69a9bd
commit
618b8edad7
|
@ -28,7 +28,7 @@ func NewDriftCTL(remoteSupplier resource.Supplier, iacSupplier resource.Supplier
|
|||
func (d DriftCTL) Run() (*analyser.Analysis, error) {
|
||||
remoteResources, resourcesFromState, err := d.scan()
|
||||
if err != nil {
|
||||
return nil, errors.Wrap(err, "Unable to scan resources")
|
||||
return nil, errors.WithStack(err)
|
||||
}
|
||||
|
||||
middleware := middlewares.NewChain(
|
||||
|
|
Loading…
Reference in New Issue