Changeset 5483


Ignore:
Timestamp:
Nov 10, 2010, 3:37:39 PM (12 years ago)
Author:
Nicklas Nordborg
Message:

References #1545: Add extension points to edit pages

Format stacktraces so that they are readable.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/clients/web/net/sf/basedb/clients/web/extensions/tabcontrol/IncludeContentTabFactory.java

    r5482 r5483  
    2727import net.sf.basedb.clients.web.extensions.AbstractJspActionFactory;
    2828import net.sf.basedb.clients.web.extensions.JspContext;
     29import net.sf.basedb.clients.web.util.HTML;
    2930import net.sf.basedb.util.Values;
    3031import net.sf.basedb.util.error.ThrowableUtil;
     
    9091    catch (Exception ex)
    9192    {
    92       tabContent = ThrowableUtil.stackTraceToString(ex);
     93      tabContent = "<div class=\"stacktrace\">" +
     94        HTML.encodeTags(ThrowableUtil.stackTraceToString(ex)) +
     95        "</div>";
    9396    }
    9497    finally
Note: See TracChangeset for help on using the changeset viewer.