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
Index out of bounds (IndexError)
from /usr/share/crystal/src/slice.cr:229:28 in '[]'
The error didn't give me information about what's wrong. Was the offset too large? The Slice empty? Position wrong? Every time I have to perform the same steps: Add logging and lose 15m of my life.
Feature
Log start, count(wnen available) and size with IndexError all/one/some of [all the time, only with debugging, as a feature flag, not in --release, other]
I prefer this on by default and if performance degrades off in --release by default but would need a flag to leave on.
I'd be happy to issue a PR but not without design approval.
The text was updated successfully, but these errors were encountered:
Feature Request
Problem
The error didn't give me information about what's wrong. Was the offset too large? The
Slice
empty? Position wrong? Every time I have to perform the same steps: Add logging and lose 15m of my life.Feature
Log
start
,count
(wnen available) andsize
withIndexError
all/one/some of [all the time, only with debugging, as a feature flag, not in --release, other]I prefer this on by default and if performance degrades off in
--release
by default but would need a flag to leave on.I'd be happy to issue a PR but not without design approval.
The text was updated successfully, but these errors were encountered: