dadler/thumbnail-zoom — Issue #13: Improve error handling in _closePanel
Author: dadler
Created: 2011-11-20 03:25:55+00:00
State: open

Currently if _closePanel catches an exception, it logs the exception to the debug log (if enabled, which isn't in the production version) and otherwise ignores it. This could cause the next popped-up image to be horizontally squished to the width of the throbber busy icon.

Improve error handling there, and also ensure on pop-up that the right image of the panel is displayed, so we won't see a narrow image even if there had been an exception. A couple users reported in the past seeing tall skinny images like this.