You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Noticed this when upping the log-level on an old project. If the return value doesn't have Protocol::DEBUG_STRING it'll just hard-crash when the return happens. Took quite a while to figure out why... :D
I can point-fix it, but I think in general it'd be nicer if dbg! etc was less prone to exploding. Maybe an optional feature to "fall back" to something like <%T object at %p>, which isn't what most people would want but won't lead to spurious BOOM.
The text was updated successfully, but these errors were encountered:
Noticed this when upping the log-level on an old project. If the return value doesn't have
Protocol::DEBUG_STRING
it'll just hard-crash when the return happens. Took quite a while to figure out why... :Drune/crates/rune/src/runtime/vm.rs
Lines 2029 to 2035 in fc2bc0c
I can point-fix it, but I think in general it'd be nicer if dbg! etc was less prone to exploding. Maybe an optional feature to "fall back" to something like
<%T object at %p>
, which isn't what most people would want but won't lead to spurious BOOM.The text was updated successfully, but these errors were encountered: