Skip to content

Commit

Permalink
Remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
wgwntp committed Aug 2, 2019
1 parent e0e7554 commit 31a25a5
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions exchange.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,6 @@ func (res *Resource) Import(container Container, context *qor.Context, callbacks
for _, err := range errors.GetErrors() {
handleError(err)
}
//Avoid repeated handle errors , clear context.Errors
context.Errors = qor.Errors{}
} else if errValidations, ok := err.(*validations.Error); ok {
for idx, cell := range progress.Cells {
if cell.Header == errValidations.Column {
Expand Down

0 comments on commit 31a25a5

Please sign in to comment.