Index: t3lib/class.t3lib_pagerenderer.php =================================================================== --- t3lib/class.t3lib_pagerenderer.php (revision 10402) +++ t3lib/class.t3lib_pagerenderer.php (revision ) @@ -1005,19 +1005,33 @@ ); } else { var backtrace = ""; - if (event.where) { + if (event.code === "parse") { + extDirectDebug( + "

" + event.xhr.responseText + "<\/p>", + event.type, + "ExtDirect - Exception" + ); + } else if (event.code === "router") { + TYPO3.Flashmessage.display( + TYPO3.Severity.error, + event.code, + event.message, + 30 + ); + } else if (event.where) { backtrace = "

" + "Backtrace:<\/strong>
" + event.where.replace(/#/g, "
#") + "<\/p>"; - } - - extDirectDebug( - "

" + event.message + "<\/p>" + backtrace, - event.method, - "ExtDirect - Exception" - ); - } + extDirectDebug( + "

" + event.message + "<\/p>" + backtrace, + event.method, + "ExtDirect - Exception" + ); + } + + + } }); Ext.Direct.on("event", function(event, provider) {