Follow-up to #17500: Improve error handling in ExtDirect router (Thanks to Helmut...
authorSteffen Kamper <info@sk-typo3.de>
Tue, 8 Feb 2011 15:53:33 +0000 (15:53 +0000)
committerSteffen Kamper <info@sk-typo3.de>
Tue, 8 Feb 2011 15:53:33 +0000 (15:53 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/branches/TYPO3_4-5@10416 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
t3lib/extjs/class.t3lib_extjs_extdirectrouter.php

index bfbe90a..a8d5fff 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2011-02-08  Steffen Kamper  <steffen@typo3.org>
+
+       * Follow-up to #17500: Improve error handling in ExtDirect router (Thanks to Helmut Hummel)
+
 2011-02-08  Jigal van Hemert  <jigal@xs4all.nl>
 
        * Fixed bug #17507: Extension using stdWrap hooks are broken due to stdWrap refactoring (Thank also to Jo Hasenau)
index 1372e15..3247392 100644 (file)
@@ -109,7 +109,7 @@ class t3lib_extjs_ExtDirectRouter {
                                } catch (Exception $exception) {
                                        $response[$index]['type'] = 'exception';
                                        $response[$index]['message'] = $exception->getMessage();
-                                       $response[$index]['where'] = $exception->getTraceAsString();
+                                       $response[$index]['code'] = 'router';
                                }
                        }
                }