Skip to content

Commit c1f8809

Browse files
drew-512sbinet
andauthored
Update modules/runtime.go
Co-authored-by: Sebastien Binet <binet@cern.ch>
1 parent a7ce4bb commit c1f8809

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

modules/runtime.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ func (ctx *ctx) ResolveAndCompile(pathname string, opts py.CompileOpts) (py.Comp
116116
if os.IsNotExist(err) {
117117
return true, nil
118118
}
119-
err = py.ExceptionNewf(py.OSError, "Error accessing %q: %v", fpath, err)
119+
err = py.ExceptionNewf(py.OSError, "Error accessing %q: %w", fpath, err)
120120
return false, err
121121
}
122122

0 commit comments

Comments
 (0)