diff options
Diffstat (limited to 'rhimport')
-rw-r--r-- | rhimport/session.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/rhimport/session.go b/rhimport/session.go index b0031b1..f260aaa 100644 --- a/rhimport/session.go +++ b/rhimport/session.go @@ -118,8 +118,7 @@ func sessionRun(ctx Context, done chan<- Result) { return } - err = NormalizeFile(&ctx) - if err != nil { + if err = NormalizeFile(&ctx); err != nil { done <- Result{ResponseCode: http.StatusInternalServerError, ErrorString: err.Error()} return } |