Skip to content

Commit 33e0e21

Browse files
authored
Make test_ambiguities error more helpful (#199)
1 parent 59eb815 commit 33e0e21

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/ambiguities.jl

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,8 +139,10 @@ function _find_ambiguities(
139139
reg_match = match(r"(\d+) ambiguities found", strout)
140140

141141
reg_match === nothing && error(
142-
"Failed to parse output of `detect_ambiguities`. The output was:\n" *
143-
strout,
142+
"Failed to parse output of `detect_ambiguities`. The stdout was:\n" *
143+
strout *
144+
"\n\n The stderr was:\n" *
145+
strerr,
144146
)
145147

146148
parse(Int, reg_match.captures[1])

0 commit comments

Comments
 (0)