Skip to content

Commit 8f584d6

Browse files
authored
Merge pull request #330 from cloudskiff/change_error_message
Change error message to avoid unrelated error grouping on sentry
2 parents 14cb69a + 618b8ed commit 8f584d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/driftctl.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ func NewDriftCTL(remoteSupplier resource.Supplier, iacSupplier resource.Supplier
2828
func (d DriftCTL) Run() (*analyser.Analysis, error) {
2929
remoteResources, resourcesFromState, err := d.scan()
3030
if err != nil {
31-
return nil, errors.Wrap(err, "Unable to scan resources")
31+
return nil, errors.WithStack(err)
3232
}
3333

3434
middleware := middlewares.NewChain(

0 commit comments

Comments
 (0)