Add debug for exceptions and refactor www.ceten.fr source code