Skip to content

ssh: Standardization of errors creation

Pavlo Strokov requested to merge ps-ssh-fixes into master

Replace old %v with new %w for proper error wrapping. Replace usage of status.Errorf() with helper.Errf() to make error creation more standard. Replace fmt.Errorf() with errors.New() if used without a reason. Replace redundant and wrong method name in error's context.

Part of #4471 (closed)

Merge request reports