exception: Add FIXME about code duplication
authorTimo Tijhof <krinklemail@gmail.com>
Fri, 28 Sep 2018 21:44:36 +0000 (22:44 +0100)
committerKrinkle <krinklemail@gmail.com>
Fri, 28 Sep 2018 22:17:07 +0000 (22:17 +0000)
commit9512ebe7365b5384d918490654e5f37176ad1e35
treea0589a61a1604144eac6d1c1ec1af4a6e389f142
parentc94dea7029caea6377f4e36213104afde0bd6642
exception: Add FIXME about code duplication

These methods aren't identical, so consolidation isn't
immediately obvious, and creating dependencies is problematic
in error handling code given there is a lot of pressure on this
code to not by itself cause additional errors.

This means that maybe it's best to keep these inlined without
duplication, but at the very least we then need to remember
to keep these in sync. This duplication has been around for
a while now, but documentation can never come too late...

Change-Id: I60160f61c13c8e115d839acce222f110e30bc2f2
includes/exception/MWException.php
includes/exception/MWExceptionRenderer.php