Please sign in to comment.
Make pryrc load errors more useful.
As it stands pryrc leaves you clueless about where an error happens, this small changes makes it so that .load_file_at_toplevel at least returns e.backtrace.first so that users get hinted at the file causing the issue. This is extremely useful when doing requires from inside of pryrc.
- Loading branch information...