Fixes duplicate message getting printed by console.error

Line 839's logError was logging generic errors and since the error is
not caught it was also logged by defaultActionHandler.error at line 609.

Previously for a model hook syntax error I would get: "Error while
processing route: index" "foo is not defined" logged and immediately
after it "foo is not defined".

This works with and without error substates and when a "too many dynamic
segments" error is thrown.
Merge pull request #5286 from jerel/bugfix/duplicate-console.error

[BUGFIX beta] Fixes duplicate message getting printed to console.error