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
This issue is inspired by #1421, I was having a similar problem, and in entering the debugger, I noticed that the block data element in the function call block_to_rd had information about the file and line number that was being processed at the time. This information needs to be added to any error message which is thrown by block_to_rd
My suggested fix would be to have roclet_process.roclet_rd() (possibly other roclet_process messages catch errors from calls to block_to_rd(), add the file and line number to the error message, and then rethrow the error. This is robust to even unexpected error types.
The text was updated successfully, but these errors were encountered:
NOTE BENE! This issue is NOT about the specific error being generated, the other issue covers that. This issue is about the fact that uncaught exceptions, such as this one, give no information about where the error occurs, not even the name of the file, or the block being operated on.
This issue is inspired by #1421, I was having a similar problem, and in entering the debugger, I noticed that the
block
data element in the function callblock_to_rd
had information about the file and line number that was being processed at the time. This information needs to be added to any error message which is thrown byblock_to_rd
My suggested fix would be to have
roclet_process.roclet_rd()
(possibly otherroclet_process
messages catch errors from calls toblock_to_rd()
, add the file and line number to the error message, and then rethrow the error. This is robust to even unexpected error types.The text was updated successfully, but these errors were encountered: