Fix endless recursion while printing GLException