Menu

#4 Typo in error_handler.tcl

1.0
open
nobody
None
2022-07-28
2022-07-28
No

I spotted another typo in the check_response method of ErrorHandler.

On about line 91, where the code is setting up exceptioninfo, it checks whether the jsonanswer dict has a value key.

Sadly it tries to test via

        [dict exists json_answer value]

Sadly this always fails, so useful information is lost from the exception. The code should be

        [dict exists $json_answer value]

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.