We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f53c50b commit 75eb44bCopy full SHA for 75eb44b
pkg/translate/output.go
@@ -56,7 +56,10 @@ func ToSLURM(wr io.Writer, root *common.Vertex) error {
56
57
for _, sw := range parents {
58
if _, ok := leaves[sw.ID]; !ok {
59
- writeSwitch(wr, sw)
+ err := writeSwitch(wr, sw)
60
+ if err != nil {
61
+ return fmt.Errorf("failed to write switch %s: %w", sw.ID, err)
62
+ }
63
}
64
65
var comment, switchName string
0 commit comments