Skip to content

Commit cb6710c

Browse files
committed
fix err not thrown
1 parent a24b8d1 commit cb6710c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/hjson_decode.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -789,6 +789,8 @@ static Value _rootValue(Parser *p) {
789789
} catch (const syntax_error& e2) {
790790
throw e1;
791791
}
792+
} else {
793+
throw e1;
792794
}
793795
}
794796

0 commit comments

Comments
 (0)