[BUGFIX] Removed undefined variable in createExceptionHandler