Skip to content

Commit cda6e1b

Browse files
committed
Crash progrma if converting goes wrong
1 parent 2a69a76 commit cda6e1b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/main.zig

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,8 @@ pub fn main() !void {
127127
line,
128128
column,
129129
});
130+
131+
return err;
130132
},
131133
error.TooManyTabs => {
132134
const file_path = diagnostics.file_path orelse "null";
@@ -138,6 +140,8 @@ pub fn main() !void {
138140
line,
139141
column,
140142
});
143+
144+
return err;
141145
},
142146
else => |e| return e,
143147
};

0 commit comments

Comments
 (0)