fix for error message change
This commit is contained in:
parent
616425554d
commit
21775f8c89
@ -94,7 +94,7 @@ using Juno
|
|||||||
Juno.errmsg(e::mx.MXError) = e.msg
|
Juno.errmsg(e::mx.MXError) = e.msg
|
||||||
|
|
||||||
function errnode(e::mx.MXError)
|
function errnode(e::mx.MXError)
|
||||||
m = match(r"Error in (\w+)", e.msg)
|
m = match(r"Error in operator (\w+)", e.msg)
|
||||||
m == nothing && return
|
m == nothing && return
|
||||||
Symbol(m.captures[1])
|
Symbol(m.captures[1])
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user